Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [: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/BuildSysPro 3.5.0/package.mo): time 0.7903/0.7903, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 193.2 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009752/0.0009753, allocations: 83.97 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.734e-06/7.765e-06, allocations: 0 / 0.5459 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.46, allocations: 336.2 MB / 0.9492 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/1.46, allocations: 71.97 kB / 0.9493 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.02402/1.484, allocations: 11.25 MB / 0.9603 GB, free: 155 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.366e-06/1.484, allocations: 0 / 0.9603 GB, free: 155 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003072/1.484, allocations: 342.4 kB / 0.9606 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.485, allocations: 8.031 kB / 0.9606 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/1.485, allocations: 0 / 0.9606 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.485, allocations: 167.1 kB / 0.9607 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/1.485, allocations: 33.62 kB / 0.9608 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/1.485, allocations: 3.906 kB / 0.9608 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.641e-05/1.485, allocations: 11.98 kB / 0.9608 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/1.485, allocations: 41.69 kB / 0.9608 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.485, allocations: 0 / 0.9608 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.485, allocations: 4 kB / 0.9608 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/1.485, allocations: 7.938 kB / 0.9608 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/1.485, allocations: 306.5 kB / 0.9611 GB, free: 154 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/1.486, allocations: 14.58 kB / 0.9612 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/1.486, allocations: 12.95 kB / 0.9612 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.689e-05/1.486, allocations: 81.11 kB / 0.9612 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.486, allocations: 34.56 kB / 0.9613 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/1.486, allocations: 0 / 0.9613 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002205/1.486, allocations: 41.62 kB / 0.9613 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/1.486, allocations: 55.41 kB / 0.9614 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/1.486, allocations: 89 kB / 0.9615 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/1.486, allocations: 25.7 kB / 0.9615 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/1.486, allocations: 84.05 kB / 0.9616 GB, free: 153.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/1.486, allocations: 11.94 kB / 0.9616 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/1.486, allocations: 4 kB / 0.9616 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/1.486, allocations: 314.8 kB / 0.9619 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/1.486, allocations: 0 / 0.9619 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/1.486, allocations: 15.41 kB / 0.9619 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.502e-05/1.486, allocations: 8 kB / 0.9619 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.486, allocations: 0 / 0.9619 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001073/1.486, allocations: 65.55 kB / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.486, allocations: 4 kB / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.486, allocations: 7.906 kB / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.486, allocations: 0 / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/1.487, allocations: 4 kB / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/1.487, allocations: 0 / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/1.487, allocations: 0 / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/1.487, allocations: 4 kB / 0.962 GB, free: 153 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.923e-05/1.487, allocations: 104.9 kB / 0.9621 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/1.487, allocations: 7.969 kB / 0.9621 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/1.487, allocations: 124.9 kB / 0.9622 GB, free: 152.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/1.487, allocations: 184.2 kB / 0.9624 GB, free: 152.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/1.487, allocations: 176.3 kB / 0.9625 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/1.487, allocations: 180.2 kB / 0.9627 GB, free: 152.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/1.487, allocations: 385.8 kB / 0.9631 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.487, allocations: 105 kB / 0.9632 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/1.487, allocations: 112.8 kB / 0.9633 GB, free: 151.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.562e-05/1.487, allocations: 180.3 kB / 0.9635 GB, free: 151.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.487, allocations: 180.3 kB / 0.9636 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.192e-05/1.487, allocations: 184.2 kB / 0.9638 GB, free: 151 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.272e-05/1.487, allocations: 176.3 kB / 0.964 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.921e-05/1.487, allocations: 307.8 kB / 0.9643 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/1.488, allocations: 182 kB / 0.9644 GB, free: 150.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/1.488, allocations: 184.2 kB / 0.9646 GB, free: 150.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/1.488, allocations: 109.9 kB / 0.9647 GB, free: 150 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/1.488, allocations: 180.5 kB / 0.9649 GB, free: 149.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/1.488, allocations: 101 kB / 0.965 GB, free: 149.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.891e-05/1.488, allocations: 91.25 kB / 0.9651 GB, free: 149.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002775/1.488, allocations: 16 kB / 0.9651 GB, free: 149.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002397/1.488, allocations: 202.5 kB / 0.9653 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.577e-05/1.488, allocations: 11.94 kB / 0.9653 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.488, allocations: 0 / 0.9653 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/1.488, allocations: 4.125 kB / 0.9653 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/1.489, allocations: 0.5224 MB / 0.9658 GB, free: 148.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/1.489, allocations: 123.5 kB / 0.9659 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/1.489, allocations: 0.6919 MB / 0.9666 GB, free: 148 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/1.489, allocations: 4 kB / 0.9666 GB, free: 148 MB / 0.6198 GB Notification: Performance of Templates: time 0.003254/1.492, allocations: 0.71 MB / 0.9673 GB, free: 147.3 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)