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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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/BuildSysPro 3.5.0/package.mo): time 0.8602/0.8602, allocations: 127.4 MB / 134.6 MB, free: 4.125 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.001165/0.001165, allocations: 181.3 kB / 164.4 MB, free: 6.895 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.99/1.99, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.001173/0.001173, allocations: 93.27 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4192/0.4204, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.649, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.5/12.14, allocations: 4.565 GB / 5.186 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/12.15, allocations: 83.94 kB / 5.186 GB, free: 133.3 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.08841/12.23, allocations: 45.32 MB / 5.231 GB, free: 87.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/12.23, allocations: 8 kB / 5.231 GB, free: 87.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/12.23, allocations: 19.97 kB / 5.231 GB, free: 87.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/12.23, allocations: 170.9 kB / 5.231 GB, free: 87.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-05/12.23, allocations: 26.45 kB / 5.231 GB, free: 86.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/12.23, allocations: 0 / 5.231 GB, free: 86.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/12.23, allocations: 23.98 kB / 5.231 GB, free: 86.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/12.23, allocations: 45.69 kB / 5.231 GB, free: 86.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/12.23, allocations: 0 / 5.231 GB, free: 86.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/12.23, allocations: 3.938 kB / 5.231 GB, free: 86.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/12.23, allocations: 7.984 kB / 5.231 GB, free: 86.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/12.24, allocations: 229.4 kB / 5.231 GB, free: 86.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/12.24, allocations: 23.45 kB / 5.231 GB, free: 86.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/12.24, allocations: 4.859 kB / 5.231 GB, free: 86.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/12.24, allocations: 0 / 5.231 GB, free: 86.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/12.24, allocations: 38.62 kB / 5.231 GB, free: 86.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.395e-06/12.24, allocations: 0 / 5.231 GB, free: 86.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001685/12.24, allocations: 37.64 kB / 5.231 GB, free: 86.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/12.24, allocations: 51.41 kB / 5.231 GB, free: 86.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/12.24, allocations: 97.03 kB / 5.231 GB, free: 86.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/12.24, allocations: 25.7 kB / 5.231 GB, free: 86.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/12.24, allocations: 88.45 kB / 5.231 GB, free: 86.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/12.24, allocations: 7.844 kB / 5.231 GB, free: 86.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/12.24, allocations: 0 / 5.231 GB, free: 86.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/12.24, allocations: 318.8 kB / 5.232 GB, free: 85.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/12.24, allocations: 8 kB / 5.232 GB, free: 85.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/12.24, allocations: 22.58 kB / 5.232 GB, free: 85.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/12.24, allocations: 7.984 kB / 5.232 GB, free: 85.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/12.24, allocations: 0 / 5.232 GB, free: 85.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.876e-05/12.24, allocations: 49.64 kB / 5.232 GB, free: 85.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/12.24, allocations: 4 kB / 5.232 GB, free: 85.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/12.24, allocations: 0 / 5.232 GB, free: 85.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/12.24, allocations: 4 kB / 5.232 GB, free: 85.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/12.24, allocations: 15.98 kB / 5.232 GB, free: 85.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/12.24, allocations: 0 / 5.232 GB, free: 85.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/12.24, allocations: 7.938 kB / 5.232 GB, free: 85.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/12.24, allocations: 0 / 5.232 GB, free: 85.76 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.175e-05/12.24, allocations: 105 kB / 5.232 GB, free: 85.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/12.24, allocations: 3.906 kB / 5.232 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/12.24, allocations: 3.156 kB / 5.232 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/12.24, allocations: 0 / 5.232 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/12.24, allocations: 0 / 5.232 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/12.24, allocations: 0 / 5.232 GB, free: 85.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/12.24, allocations: 335.2 kB / 5.232 GB, free: 85.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/12.24, allocations: 4.219 kB / 5.232 GB, free: 85.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/12.24, allocations: 4 kB / 5.232 GB, free: 85.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/12.24, allocations: 0 / 5.232 GB, free: 85.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/12.24, allocations: 4 kB / 5.232 GB, free: 85.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/12.24, allocations: 0 / 5.232 GB, free: 85.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/12.24, allocations: 0 / 5.232 GB, free: 85.26 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.601e-05/12.24, allocations: 73.06 kB / 5.232 GB, free: 85.17 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002112/12.24, allocations: 449.5 kB / 5.233 GB, free: 84.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/12.24, allocations: 85.02 kB / 5.233 GB, free: 84.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/12.24, allocations: 0 / 5.233 GB, free: 84.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/12.24, allocations: 8.047 kB / 5.233 GB, free: 84.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/12.24, allocations: 0 / 5.233 GB, free: 84.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/12.24, allocations: 4 kB / 5.233 GB, free: 84.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.294e-05/12.24, allocations: 83.28 kB / 5.233 GB, free: 84.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009739/12.24, allocations: 75.98 kB / 5.233 GB, free: 84.44 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.0007861/12.24, allocations: 0.6635 MB / 5.234 GB, free: 83.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.083e-05/12.24, allocations: 11.94 kB / 5.234 GB, free: 83.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/12.24, allocations: 0 / 5.234 GB, free: 83.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.461e-06/12.24, allocations: 4 kB / 5.234 GB, free: 83.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/12.24, allocations: 10.84 kB / 5.234 GB, free: 83.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/12.24, allocations: 60.17 kB / 5.234 GB, free: 83.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/12.24, allocations: 0.688 MB / 5.234 GB, free: 82.95 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/12.24, allocations: 0 / 5.234 GB, free: 82.95 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)