Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.597/2.597, allocations: 284.8 MB / 292.1 MB, free: 1.438 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002685/0.002685, allocations: 182.9 kB / 360.3 MB, free: 15.66 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.1 MB / 0.6187 GB, free: 6.668 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 86.55 kB / 0.7317 GB, free: 46.88 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2659/0.2672, allocations: 121.4 MB / 0.8502 GB, free: 13.65 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6721/0.9393, allocations: 115.2 MB / 0.9627 GB, free: 86.46 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.904/5.844, allocations: 2.072 GB / 3.035 GB, free: 2.477 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005011/5.844, allocations: 87.69 kB / 3.035 GB, free: 2.434 MB / 0.9405 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.7604/6.605, allocations: 64.39 MB / 3.098 GB, free: 321.6 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/6.605, allocations: 13.31 kB / 3.098 GB, free: 321.6 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/6.607, allocations: 231.8 kB / 3.098 GB, free: 321.5 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/6.609, allocations: 0.7681 MB / 3.099 GB, free: 320.9 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/6.609, allocations: 27.56 kB / 3.099 GB, free: 320.9 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/6.61, allocations: 60.69 kB / 3.099 GB, free: 320.9 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003527/6.613, allocations: 1.021 MB / 3.1 GB, free: 320.4 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/6.617, allocations: 0.7924 MB / 3.101 GB, free: 319.9 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/6.618, allocations: 0 / 3.101 GB, free: 319.9 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/6.618, allocations: 0 / 3.101 GB, free: 319.9 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/6.618, allocations: 23.94 kB / 3.101 GB, free: 319.9 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/6.629, allocations: 2.534 MB / 3.103 GB, free: 318 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/6.631, allocations: 0.6271 MB / 3.104 GB, free: 317.7 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/6.631, allocations: 233.7 kB / 3.104 GB, free: 317.6 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/6.632, allocations: 34.55 kB / 3.104 GB, free: 317.6 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009244/6.633, allocations: 373.5 kB / 3.104 GB, free: 317.4 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=69): time 4.238e-06/6.633, allocations: 0 / 3.104 GB, free: 317.4 MB / 0.9405 GB Notification: Performance of matching and sorting (n=69): time 0.00308/6.636, allocations: 0.6368 MB / 3.105 GB, free: 317.1 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/6.636, allocations: 248.3 kB / 3.105 GB, free: 316.8 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/6.637, allocations: 0.6123 MB / 3.106 GB, free: 316.4 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/6.638, allocations: 26.55 kB / 3.106 GB, free: 316.4 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/6.638, allocations: 361.1 kB / 3.106 GB, free: 316.1 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/6.638, allocations: 216.6 kB / 3.106 GB, free: 315.9 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/6.638, allocations: 0 / 3.106 GB, free: 315.9 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/6.639, allocations: 332.7 kB / 3.107 GB, free: 315.6 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/6.639, allocations: 183.2 kB / 3.107 GB, free: 315.5 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/6.64, allocations: 290.8 kB / 3.107 GB, free: 315.3 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/6.641, allocations: 229.7 kB / 3.107 GB, free: 315.2 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/6.641, allocations: 5.156 kB / 3.107 GB, free: 315.2 MB / 0.9405 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002791/6.643, allocations: 0.6442 MB / 3.108 GB, free: 314.9 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/6.643, allocations: 10.09 kB / 3.108 GB, free: 314.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/6.643, allocations: 4 kB / 3.108 GB, free: 314.8 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/6.645, allocations: 82.41 kB / 3.108 GB, free: 314.8 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/6.646, allocations: 137 kB / 3.108 GB, free: 314.8 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/6.649, allocations: 1.466 MB / 3.11 GB, free: 313.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/6.65, allocations: 63.45 kB / 3.11 GB, free: 313.3 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/6.65, allocations: 24.61 kB / 3.11 GB, free: 313.3 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/6.651, allocations: 122.9 kB / 3.11 GB, free: 313.2 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/6.651, allocations: 88.81 kB / 3.11 GB, free: 313.1 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004365/6.655, allocations: 0.9079 MB / 3.111 GB, free: 312.7 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/6.655, allocations: 7.781 kB / 3.111 GB, free: 312.7 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/6.655, allocations: 0.8125 kB / 3.111 GB, free: 312.7 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/6.655, allocations: 3.984 kB / 3.111 GB, free: 312.7 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/6.657, allocations: 0.8141 MB / 3.112 GB, free: 311.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/6.657, allocations: 8 kB / 3.112 GB, free: 311.9 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/6.659, allocations: 135.8 kB / 3.112 GB, free: 311.8 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/6.661, allocations: 88.77 kB / 3.112 GB, free: 311.7 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/6.661, allocations: 11.98 kB / 3.112 GB, free: 311.7 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/6.664, allocations: 1.496 MB / 3.113 GB, free: 310.1 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/6.664, allocations: 0 / 3.113 GB, free: 310.1 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00277/6.667, allocations: 0.7482 MB / 3.114 GB, free: 309.3 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00292/6.67, allocations: 1.168 MB / 3.115 GB, free: 308.1 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/6.671, allocations: 283.7 kB / 3.115 GB, free: 307.8 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/6.671, allocations: 0 / 3.115 GB, free: 307.8 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/6.673, allocations: 57.34 kB / 3.116 GB, free: 307.7 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/6.673, allocations: 56.61 kB / 3.116 GB, free: 307.7 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-05/6.673, allocations: 23.98 kB / 3.116 GB, free: 307.7 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0009349/6.674, allocations: 499.1 kB / 3.116 GB, free: 307.2 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.002693/6.677, allocations: 404.1 kB / 3.116 GB, free: 306.8 MB / 0.9405 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002666/6.68, allocations: 1.004 MB / 3.117 GB, free: 306 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.001992/6.682, allocations: 0.6272 MB / 3.118 GB, free: 305.4 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/6.682, allocations: 1.406 kB / 3.118 GB, free: 305.4 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/6.683, allocations: 440.7 kB / 3.119 GB, free: 304.9 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/6.685, allocations: 344.4 kB / 3.119 GB, free: 304.6 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/6.693, allocations: 1.504 MB / 3.12 GB, free: 303.1 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/6.694, allocations: 1.204 MB / 3.121 GB, free: 301.8 MB / 0.9405 GB Notification: Performance of SimCode: time 1.713e-06/6.694, allocations: 0 / 3.121 GB, free: 301.8 MB / 0.9405 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)