Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",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.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.8 MB / 297 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002053/0.002053, allocations: 181.2 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 96.22 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2836/0.2846, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/1.032, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.304/5.336, allocations: 2.071 GB / 3.043 GB, free: 5.234 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/5.336, allocations: 106.4 kB / 3.043 GB, free: 5.133 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.619/5.955, allocations: 42.67 MB / 3.085 GB, free: 342.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/5.955, allocations: 13.16 kB / 3.085 GB, free: 342.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00712/5.962, allocations: 0.7002 MB / 3.086 GB, free: 342.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/5.967, allocations: 1.734 MB / 3.088 GB, free: 341.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/5.967, allocations: 136.7 kB / 3.088 GB, free: 341.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/5.968, allocations: 18.47 kB / 3.088 GB, free: 341.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004485/5.972, allocations: 2.905 MB / 3.091 GB, free: 340 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/5.975, allocations: 2.029 MB / 3.093 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/5.975, allocations: 0 / 3.093 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/5.975, allocations: 6.469 kB / 3.093 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/5.975, allocations: 9.719 kB / 3.093 GB, free: 338.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/5.986, allocations: 5.163 MB / 3.098 GB, free: 335.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/5.989, allocations: 2.493 MB / 3.1 GB, free: 334.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/5.99, allocations: 1.3 MB / 3.101 GB, free: 333.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/5.99, allocations: 16.19 kB / 3.101 GB, free: 333.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002061/5.992, allocations: 1.892 MB / 3.103 GB, free: 331.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.518e-06/5.992, allocations: 3.938 kB / 3.103 GB, free: 331.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004748/5.997, allocations: 2.743 MB / 3.106 GB, free: 328.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/5.997, allocations: 93.61 kB / 3.106 GB, free: 328.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00345/6.001, allocations: 2.452 MB / 3.108 GB, free: 326 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000326/6.001, allocations: 45.69 kB / 3.108 GB, free: 325.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/6.001, allocations: 297.2 kB / 3.109 GB, free: 325.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/6.001, allocations: 169.5 kB / 3.109 GB, free: 325.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/6.002, allocations: 4 kB / 3.109 GB, free: 325.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/6.002, allocations: 329.9 kB / 3.109 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/6.003, allocations: 1.649 MB / 3.111 GB, free: 323.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/6.005, allocations: 1.622 MB / 3.112 GB, free: 321.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/6.007, allocations: 1.525 MB / 3.114 GB, free: 320.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/6.007, allocations: 0 / 3.114 GB, free: 320.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00517/6.012, allocations: 3.472 MB / 3.117 GB, free: 316.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/6.013, allocations: 4 kB / 3.117 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/6.013, allocations: 0 / 3.117 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/6.013, allocations: 7.984 kB / 3.117 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/6.014, allocations: 235.6 kB / 3.117 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/6.014, allocations: 3.844 kB / 3.117 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/6.016, allocations: 107.7 kB / 3.118 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/6.016, allocations: 111.9 kB / 3.118 GB, free: 316.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.000589/6.017, allocations: 166 kB / 3.118 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/6.017, allocations: 169.9 kB / 3.118 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/6.023, allocations: 3.161 MB / 3.121 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/6.023, allocations: 8 kB / 3.121 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/6.023, allocations: 0 / 3.121 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/6.023, allocations: 3.984 kB / 3.121 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/6.026, allocations: 2.469 MB / 3.123 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/6.026, allocations: 0 / 3.123 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/6.028, allocations: 232.2 kB / 3.124 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/6.028, allocations: 4 kB / 3.124 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/6.028, allocations: 51.83 kB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/6.028, allocations: 4 kB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/6.028, allocations: 0 / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004303/6.032, allocations: 2.812 MB / 3.126 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00432/6.037, allocations: 3.226 MB / 3.13 GB, free: 304.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/6.038, allocations: 0.7721 MB / 3.13 GB, free: 303.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/6.039, allocations: 56.53 kB / 3.13 GB, free: 303.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/6.04, allocations: 155.8 kB / 3.131 GB, free: 303.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/6.04, allocations: 60.41 kB / 3.131 GB, free: 303 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/6.041, allocations: 107.9 kB / 3.131 GB, free: 302.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002476/6.043, allocations: 1.88 MB / 3.133 GB, free: 301 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00218/6.045, allocations: 447.7 kB / 3.133 GB, free: 300.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.001066/6.046, allocations: 484.9 kB / 3.133 GB, free: 300.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003311/6.05, allocations: 3.155 MB / 3.137 GB, free: 297 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/6.05, allocations: 0 / 3.137 GB, free: 297 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/6.051, allocations: 1.433 MB / 3.138 GB, free: 295.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/6.053, allocations: 375 kB / 3.138 GB, free: 295.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/6.06, allocations: 3.756 MB / 3.142 GB, free: 291.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/6.062, allocations: 1.81 MB / 3.144 GB, free: 289.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.835e-06/6.062, allocations: 0 / 3.144 GB, free: 289.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)