Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [: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.7233/0.7233, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001314/0.001314, allocations: 177.3 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.933/1.933, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.001037/0.001037, allocations: 97.56 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.496e-06, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1817, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.19/11.37, allocations: 4.565 GB / 5.186 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/11.37, allocations: 83.95 kB / 5.186 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.08347/11.46, allocations: 44.99 MB / 5.23 GB, free: 60.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.249e-05/11.46, allocations: 4 kB / 5.23 GB, free: 60.36 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003856/11.46, allocations: 334.4 kB / 5.23 GB, free: 59.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/11.46, allocations: 8.031 kB / 5.23 GB, free: 59.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/11.46, allocations: 19.98 kB / 5.23 GB, free: 59.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/11.46, allocations: 163 kB / 5.231 GB, free: 59.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-05/11.46, allocations: 29.69 kB / 5.231 GB, free: 59.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/11.46, allocations: 0 / 5.231 GB, free: 59.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/11.46, allocations: 27.94 kB / 5.231 GB, free: 59.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/11.46, allocations: 45.67 kB / 5.231 GB, free: 59.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/11.46, allocations: 3.938 kB / 5.231 GB, free: 59.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/11.46, allocations: 0 / 5.231 GB, free: 59.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/11.46, allocations: 4 kB / 5.231 GB, free: 59.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/11.46, allocations: 234 kB / 5.231 GB, free: 59.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/11.46, allocations: 18.58 kB / 5.231 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/11.46, allocations: 4.859 kB / 5.231 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/11.46, allocations: 8 kB / 5.231 GB, free: 59.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/11.46, allocations: 38.59 kB / 5.231 GB, free: 59.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/11.46, allocations: 0 / 5.231 GB, free: 59.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001896/11.46, allocations: 34.55 kB / 5.231 GB, free: 59.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/11.46, allocations: 55.44 kB / 5.231 GB, free: 59.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/11.46, allocations: 93 kB / 5.231 GB, free: 59.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/11.46, allocations: 29.7 kB / 5.231 GB, free: 59.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/11.46, allocations: 88.44 kB / 5.231 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/11.46, allocations: 7.906 kB / 5.231 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/11.46, allocations: 0 / 5.231 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000114/11.46, allocations: 310.8 kB / 5.232 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/11.46, allocations: 4 kB / 5.232 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/11.46, allocations: 26.58 kB / 5.232 GB, free: 58.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/11.46, allocations: 15.86 kB / 5.232 GB, free: 58.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/11.46, allocations: 0 / 5.232 GB, free: 58.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.29e-05/11.46, allocations: 45.69 kB / 5.232 GB, free: 58.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/11.46, allocations: 4 kB / 5.232 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/11.46, allocations: 4 kB / 5.232 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/11.46, allocations: 3.938 kB / 5.232 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/11.46, allocations: 12 kB / 5.232 GB, free: 58.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/11.46, allocations: 4 kB / 5.232 GB, free: 58.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/11.46, allocations: 3.938 kB / 5.232 GB, free: 58.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/11.46, allocations: 0 / 5.232 GB, free: 58.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.843e-05/11.46, allocations: 109 kB / 5.232 GB, free: 58.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/11.46, allocations: 3.906 kB / 5.232 GB, free: 58.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/11.46, allocations: 3.156 kB / 5.232 GB, free: 58.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/11.46, allocations: 0 / 5.232 GB, free: 58.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/11.46, allocations: 7.984 kB / 5.232 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/11.46, allocations: 4.281 kB / 5.232 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/11.46, allocations: 327.1 kB / 5.232 GB, free: 58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/11.46, allocations: 0 / 5.232 GB, free: 58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/11.46, allocations: 4 kB / 5.232 GB, free: 58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/11.46, allocations: 3.984 kB / 5.232 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/11.46, allocations: 0 / 5.232 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/11.46, allocations: 0 / 5.232 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/11.46, allocations: 0 / 5.232 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.867e-05/11.46, allocations: 69.06 kB / 5.232 GB, free: 57.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/11.46, allocations: 77.11 kB / 5.232 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/11.46, allocations: 0 / 5.232 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/11.46, allocations: 4 kB / 5.232 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/11.46, allocations: 0 / 5.232 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/11.46, allocations: 0 / 5.232 GB, free: 57.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.839e-05/11.46, allocations: 87.27 kB / 5.232 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003/11.46, allocations: 36.03 kB / 5.232 GB, free: 57.69 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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.0009458/11.46, allocations: 0.6634 MB / 5.233 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.262e-05/11.46, allocations: 19.94 kB / 5.233 GB, free: 57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/11.46, allocations: 0 / 5.233 GB, free: 57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/11.46, allocations: 4 kB / 5.233 GB, free: 57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/11.46, allocations: 4 kB / 5.233 GB, free: 56.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/11.46, allocations: 55.86 kB / 5.233 GB, free: 56.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/11.46, allocations: 0.6841 MB / 5.234 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of SimCode: time 6.32e-07/11.46, allocations: 0 / 5.234 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.007174/11.47, allocations: 3.793 MB / 5.238 GB, free: 52.41 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)