Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [: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.545/1.545, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001122/0.001122, allocations: 181.3 kB / 361.1 MB, free: 7.074 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.394/1.394, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008646/0.0008646, allocations: 90.34 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.306e-05/1.307e-05, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6542, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.895/4.55, allocations: 2.06 GB / 3.024 GB, free: 8.91 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/4.55, allocations: 84.7 kB / 3.024 GB, free: 8.828 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.8696/5.42, allocations: 207.7 MB / 3.227 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.901e-05/5.42, allocations: 4 kB / 3.227 GB, free: 175.1 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001117/5.421, allocations: 0.5601 MB / 3.227 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.421, allocations: 8.031 kB / 3.227 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/5.421, allocations: 35.56 kB / 3.227 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/5.422, allocations: 279.4 kB / 3.227 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/5.422, allocations: 8 kB / 3.227 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/5.422, allocations: 12 kB / 3.228 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002511/5.422, allocations: 103.8 kB / 3.228 GB, free: 174 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/5.422, allocations: 218.3 kB / 3.228 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/5.422, allocations: 0 / 3.228 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/5.422, allocations: 4 kB / 3.228 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/5.422, allocations: 4 kB / 3.228 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/5.423, allocations: 1.287 MB / 3.229 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/5.423, allocations: 155.6 kB / 3.229 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/5.424, allocations: 73.33 kB / 3.229 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/5.424, allocations: 125 kB / 3.229 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/5.424, allocations: 42.5 kB / 3.229 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/5.424, allocations: 0 / 3.229 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10): time 0.0004643/5.424, allocations: 145.3 kB / 3.23 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/5.424, allocations: 183.9 kB / 3.23 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/5.425, allocations: 166.1 kB / 3.23 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/5.425, allocations: 33.86 kB / 3.23 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/5.425, allocations: 147.9 kB / 3.23 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/5.425, allocations: 35.45 kB / 3.23 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/5.425, allocations: 0 / 3.23 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/5.425, allocations: 326.8 kB / 3.23 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/5.425, allocations: 27.98 kB / 3.23 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/5.425, allocations: 105.4 kB / 3.231 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/5.425, allocations: 67.98 kB / 3.231 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/5.425, allocations: 8 kB / 3.231 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002818/5.425, allocations: 157.3 kB / 3.231 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/5.425, allocations: 7.984 kB / 3.231 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/5.425, allocations: 0 / 3.231 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/5.425, allocations: 7.938 kB / 3.231 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/5.426, allocations: 40.11 kB / 3.231 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/5.426, allocations: 3.938 kB / 3.231 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/5.426, allocations: 23.92 kB / 3.231 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/5.426, allocations: 12 kB / 3.231 GB, free: 170.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.41e-05/5.426, allocations: 112.8 kB / 3.231 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/5.426, allocations: 23.81 kB / 3.231 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/5.426, allocations: 110.7 kB / 3.231 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/5.426, allocations: 4 kB / 3.231 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/5.426, allocations: 0 / 3.231 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/5.426, allocations: 7.906 kB / 3.231 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/5.427, allocations: 0.7267 MB / 3.232 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/5.427, allocations: 128 / 3.232 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/5.427, allocations: 27.98 kB / 3.232 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/5.427, allocations: 7.906 kB / 3.232 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/5.427, allocations: 0 / 3.232 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/5.427, allocations: 7.938 kB / 3.232 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/5.427, allocations: 160 / 3.232 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003635/5.428, allocations: 368 kB / 3.232 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/5.428, allocations: 104.8 kB / 3.232 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/5.428, allocations: 4 kB / 3.232 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/5.428, allocations: 11.98 kB / 3.232 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/5.428, allocations: 8.062 kB / 3.232 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/5.428, allocations: 8 kB / 3.232 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.338e-05/5.428, allocations: 136.6 kB / 3.233 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005759/5.429, allocations: 127.8 kB / 3.233 GB, free: 168.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001474/5.43, allocations: 1.133 MB / 3.234 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001922/5.43, allocations: 87.86 kB / 3.234 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/5.43, allocations: 0 / 3.234 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/5.43, allocations: 43.92 kB / 3.234 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/5.431, allocations: 59.52 kB / 3.234 GB, free: 167 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/5.431, allocations: 334.3 kB / 3.234 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/5.432, allocations: 0.7861 MB / 3.235 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of SimCode: time 2.9e-07/5.432, allocations: 0 / 3.235 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.01281/5.445, allocations: 8.294 MB / 3.243 GB, free: 157.6 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)