Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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 9.1.1-maint.9.1.x/package.mo): time 2.049/2.049, allocations: 387.2 MB / 394.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 189 kB / 487 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 0.7819 GB, free: 6.781 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009155, allocations: 99.02 kB / 0.9213 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3467/0.3476, allocations: 148.5 MB / 1.066 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/1.242, allocations: 142.3 MB / 1.205 GB, free: 72.78 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/2.369, allocations: 400.9 MB / 1.597 GB, free: 211.9 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/2.37, allocations: 86.95 kB / 1.597 GB, free: 211.9 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 5.035/7.405, allocations: 1.538 GB / 3.135 GB, free: 123 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/7.405, allocations: 15.31 kB / 3.135 GB, free: 123 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/7.408, allocations: 0.6551 MB / 3.136 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/7.411, allocations: 1.466 MB / 3.137 GB, free: 120.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/7.412, allocations: 32 kB / 3.137 GB, free: 120.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/7.412, allocations: 72.5 kB / 3.138 GB, free: 120.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001525/7.413, allocations: 0.828 MB / 3.138 GB, free: 119.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/7.415, allocations: 1.059 MB / 3.139 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/7.415, allocations: 0 / 3.139 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/7.415, allocations: 6.125 kB / 3.139 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/7.415, allocations: 31.94 kB / 3.139 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007992/7.423, allocations: 6.703 MB / 3.146 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/7.424, allocations: 0.845 MB / 3.147 GB, free: 110.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/7.425, allocations: 0.4918 MB / 3.147 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/7.427, allocations: 2.264 MB / 3.149 GB, free: 107.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000749/7.428, allocations: 0.6328 MB / 3.15 GB, free: 106.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 4.088e-06/7.428, allocations: 0 / 3.15 GB, free: 106.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.003207/7.431, allocations: 1.304 MB / 3.151 GB, free: 105.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/7.431, allocations: 153.2 kB / 3.152 GB, free: 105.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/7.432, allocations: 0.8907 MB / 3.152 GB, free: 104.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/7.432, allocations: 29.7 kB / 3.152 GB, free: 104.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/7.432, allocations: 461.5 kB / 3.153 GB, free: 104 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/7.433, allocations: 311.4 kB / 3.153 GB, free: 103.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/7.433, allocations: 4 kB / 3.153 GB, free: 103.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/7.433, allocations: 349.8 kB / 3.153 GB, free: 103.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/7.433, allocations: 413.7 kB / 3.154 GB, free: 103 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/7.434, allocations: 0.674 MB / 3.155 GB, free: 102.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/7.436, allocations: 0.7037 MB / 3.155 GB, free: 101.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/7.436, allocations: 4 kB / 3.155 GB, free: 101.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003006/7.439, allocations: 1.453 MB / 3.157 GB, free: 100 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000445/7.439, allocations: 2.148 MB / 3.159 GB, free: 97.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/7.439, allocations: 4 kB / 3.159 GB, free: 97.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/7.439, allocations: 12 kB / 3.159 GB, free: 97.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/7.441, allocations: 307.6 kB / 3.159 GB, free: 97.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/7.441, allocations: 15.94 kB / 3.159 GB, free: 97.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/7.443, allocations: 222.9 kB / 3.159 GB, free: 97.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/7.443, allocations: 59.97 kB / 3.159 GB, free: 97.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/7.443, allocations: 6.5 kB / 3.159 GB, free: 97.14 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002697/7.445, allocations: 1.265 MB / 3.161 GB, free: 95.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/7.445, allocations: 8 kB / 3.161 GB, free: 95.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/7.445, allocations: 8 kB / 3.161 GB, free: 95.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/7.447, allocations: 311.5 kB / 3.161 GB, free: 95.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/7.447, allocations: 15.92 kB / 3.161 GB, free: 95.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/7.448, allocations: 211.1 kB / 3.161 GB, free: 95.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/7.448, allocations: 59.97 kB / 3.161 GB, free: 95.28 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003215/7.449, allocations: 243.5 kB / 3.161 GB, free: 95.01 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/7.449, allocations: 153.3 kB / 3.162 GB, free: 94.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/7.453, allocations: 2.036 MB / 3.164 GB, free: 92.82 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/7.453, allocations: 11.98 kB / 3.164 GB, free: 92.81 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/7.453, allocations: 3.938 kB / 3.164 GB, free: 92.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/7.453, allocations: 3.984 kB / 3.164 GB, free: 92.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/7.459, allocations: 3.129 MB / 3.167 GB, free: 89.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/7.459, allocations: 4 kB / 3.167 GB, free: 89.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/7.46, allocations: 247.7 kB / 3.167 GB, free: 89.39 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/7.46, allocations: 4 kB / 3.167 GB, free: 89.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.566e-05/7.46, allocations: 35.97 kB / 3.167 GB, free: 89.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/7.46, allocations: 4 kB / 3.167 GB, free: 89.35 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/7.46, allocations: 4 kB / 3.167 GB, free: 89.34 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004156/7.465, allocations: 2.588 MB / 3.169 GB, free: 86.68 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00518/7.47, allocations: 3.845 MB / 3.173 GB, free: 82.77 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/7.471, allocations: 403.6 kB / 3.174 GB, free: 82.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/7.471, allocations: 16 kB / 3.174 GB, free: 82.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/7.472, allocations: 167.5 kB / 3.174 GB, free: 82.18 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/7.472, allocations: 68.61 kB / 3.174 GB, free: 82.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/7.473, allocations: 55.97 kB / 3.174 GB, free: 82.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009346/7.474, allocations: 0.68 MB / 3.175 GB, free: 81.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004292/7.478, allocations: 1.143 MB / 3.176 GB, free: 80.23 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001833/7.48, allocations: 0.9666 MB / 3.177 GB, free: 79.38 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002625/7.482, allocations: 1.946 MB / 3.178 GB, free: 77.39 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/7.482, allocations: 0 / 3.178 GB, free: 77.39 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008342/7.483, allocations: 0.7971 MB / 3.179 GB, free: 76.58 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/7.486, allocations: 0.501 MB / 3.18 GB, free: 76.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/7.491, allocations: 2.698 MB / 3.182 GB, free: 73.41 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/7.492, allocations: 1.507 MB / 3.184 GB, free: 71.88 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/7.492, allocations: 0 / 3.184 GB, free: 71.88 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)