Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.404/1.404, allocations: 285.5 MB / 292.8 MB, free: 9.875 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.001009/0.001009, allocations: 191.6 kB / 361.1 MB, free: 396 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.1 MB / 0.6195 GB, free: 2.906 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008626/0.0008623, allocations: 89.12 kB / 0.7326 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4634/0.4643, allocations: 121.5 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.6504, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.443/4.094, allocations: 2.07 GB / 3.034 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/4.094, allocations: 99.94 kB / 3.034 GB, free: 214.4 MB / 0.9323 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.08484/4.179, allocations: 42.67 MB / 3.075 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/4.179, allocations: 8.5 kB / 3.075 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/4.185, allocations: 0.7041 MB / 3.076 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/4.189, allocations: 1.74 MB / 3.078 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/4.189, allocations: 140 kB / 3.078 GB, free: 169 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/4.189, allocations: 23.98 kB / 3.078 GB, free: 169 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003462/4.193, allocations: 2.894 MB / 3.081 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/4.195, allocations: 2.038 MB / 3.083 GB, free: 164 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/4.195, allocations: 0 / 3.083 GB, free: 164 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/4.195, allocations: 7.984 kB / 3.083 GB, free: 164 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/4.195, allocations: 4 kB / 3.083 GB, free: 164 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008631/4.204, allocations: 5.167 MB / 3.088 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/4.206, allocations: 2.493 MB / 3.09 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/4.208, allocations: 1.295 MB / 3.091 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/4.208, allocations: 16.41 kB / 3.091 GB, free: 155 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/4.21, allocations: 1.888 MB / 3.093 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=61): time 3.697e-06/4.21, allocations: 0 / 3.093 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=61): time 0.004234/4.214, allocations: 2.751 MB / 3.096 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/4.214, allocations: 101.5 kB / 3.096 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/4.217, allocations: 2.445 MB / 3.098 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/4.218, allocations: 49.69 kB / 3.099 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/4.218, allocations: 285.3 kB / 3.099 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/4.218, allocations: 177.6 kB / 3.099 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/4.218, allocations: 3.938 kB / 3.099 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/4.218, allocations: 333.9 kB / 3.099 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/4.22, allocations: 1.642 MB / 3.101 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/4.221, allocations: 1.621 MB / 3.102 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/4.224, allocations: 1.525 MB / 3.104 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/4.224, allocations: 0 / 3.104 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004755/4.229, allocations: 3.476 MB / 3.107 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/4.229, allocations: 4 kB / 3.107 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/4.229, allocations: 4 kB / 3.107 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/4.229, allocations: 0 / 3.107 GB, free: 138.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/4.23, allocations: 235.6 kB / 3.108 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/4.23, allocations: 7.938 kB / 3.108 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/4.232, allocations: 115.6 kB / 3.108 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/4.232, allocations: 107.9 kB / 3.108 GB, free: 138.2 MB / 0.9323 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.0004853/4.233, allocations: 166.6 kB / 3.108 GB, free: 138 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/4.233, allocations: 173.8 kB / 3.108 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/4.238, allocations: 3.16 MB / 3.111 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/4.238, allocations: 8 kB / 3.111 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/4.238, allocations: 0 / 3.111 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/4.238, allocations: 0 / 3.111 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/4.241, allocations: 2.465 MB / 3.114 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/4.241, allocations: 0 / 3.114 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/4.243, allocations: 231.6 kB / 3.114 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/4.243, allocations: 3.984 kB / 3.114 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/4.243, allocations: 47.92 kB / 3.114 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/4.243, allocations: 8 kB / 3.114 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/4.243, allocations: 0 / 3.114 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004112/4.247, allocations: 2.816 MB / 3.117 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004025/4.251, allocations: 3.23 MB / 3.12 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/4.253, allocations: 0.7797 MB / 3.121 GB, free: 125 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005555/4.253, allocations: 51.97 kB / 3.121 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/4.255, allocations: 155.8 kB / 3.121 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/4.255, allocations: 56.41 kB / 3.121 GB, free: 124.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/4.255, allocations: 119.9 kB / 3.121 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002761/4.258, allocations: 1.872 MB / 3.123 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001977/4.26, allocations: 451.6 kB / 3.123 GB, free: 122.3 MB / 0.9323 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.001118/4.261, allocations: 472.2 kB / 3.124 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003157/4.264, allocations: 3.155 MB / 3.127 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/4.264, allocations: 0 / 3.127 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/4.266, allocations: 1.432 MB / 3.128 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/4.267, allocations: 372.2 kB / 3.128 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/4.274, allocations: 3.764 MB / 3.132 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/4.276, allocations: 1.81 MB / 3.134 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of SimCode: time 6.81e-07/4.276, allocations: 0 / 3.134 GB, free: 111.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)