Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.424/2.424, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001813/0.001813, allocations: 183.5 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.0018/0.0018, allocations: 91.92 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3082/0.3101, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.9764, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/1.23, allocations: 139.4 MB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004369/1.231, allocations: 80.66 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.06175/1.292, allocations: 7.781 MB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/1.292, allocations: 15.94 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005816/1.293, allocations: 35.61 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.294, allocations: 290.3 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/1.294, allocations: 7.938 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/1.294, allocations: 8 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005693/1.295, allocations: 96.53 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/1.296, allocations: 150.5 kB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/1.296, allocations: 15.84 kB / 1.107 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/1.296, allocations: 3.984 kB / 1.107 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/1.296, allocations: 4 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/1.298, allocations: 0.9078 MB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/1.299, allocations: 181.3 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/1.3, allocations: 53.39 kB / 1.108 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/1.3, allocations: 4 kB / 1.108 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.3, allocations: 46.48 kB / 1.108 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.886e-06/1.3, allocations: 0 / 1.108 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0008516/1.301, allocations: 145.7 kB / 1.108 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/1.301, allocations: 77.11 kB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/1.301, allocations: 219.4 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/1.301, allocations: 25.7 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.301, allocations: 128.2 kB / 1.109 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/1.301, allocations: 55.19 kB / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/1.302, allocations: 4 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.302, allocations: 338.7 kB / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/1.302, allocations: 42.44 kB / 1.109 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.302, allocations: 89.94 kB / 1.109 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/1.302, allocations: 51.98 kB / 1.109 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.302, allocations: 0 / 1.109 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006782/1.303, allocations: 173.2 kB / 1.11 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.303, allocations: 8 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.303, allocations: 3.938 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.303, allocations: 4 kB / 1.11 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006654/1.304, allocations: 76.11 kB / 1.11 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.304, allocations: 0 / 1.11 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/1.304, allocations: 63.7 kB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/1.304, allocations: 11.88 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.305, allocations: 109.5 kB / 1.11 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/1.305, allocations: 23.72 kB / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.306, allocations: 195.7 kB / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.306, allocations: 5.938 kB / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.306, allocations: 0 / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.306, allocations: 0 / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000859/1.307, allocations: 265.9 kB / 1.11 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.307, allocations: 0 / 1.11 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/1.308, allocations: 71.89 kB / 1.11 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.308, allocations: 0 / 1.11 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.308, allocations: 4 kB / 1.11 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.308, allocations: 4 kB / 1.11 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.308, allocations: 0 / 1.11 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001143/1.309, allocations: 350 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001275/1.311, allocations: 0.7241 MB / 1.111 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/1.311, allocations: 104.7 kB / 1.112 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/1.311, allocations: 0 / 1.112 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/1.312, allocations: 41.59 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.312, allocations: 15.97 kB / 1.112 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/1.312, allocations: 4 kB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003824/1.312, allocations: 171.1 kB / 1.112 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002438/1.315, allocations: 67.95 kB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000455/1.315, allocations: 119.1 kB / 1.112 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006907/1.316, allocations: 115.9 kB / 1.112 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.316, allocations: 0 / 1.112 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/1.316, allocations: 71.88 kB / 1.112 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.318, allocations: 67.22 kB / 1.112 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/1.319, allocations: 298.5 kB / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/1.32, allocations: 0.7863 MB / 1.113 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of SimCode: time 2.214e-06/1.32, allocations: 0 / 1.113 GB, free: 2.379 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)