Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 189.9 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4636/0.4636, allocations: 90.86 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 221.4 MB / 342.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000993/0.000993, allocations: 101.5 kB / 415.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2021/0.2031, allocations: 78.45 MB / 494 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.5888, allocations: 72.29 MB / 0.553 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.289/7.878, allocations: 4.361 GB / 4.914 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/7.878, allocations: 80.7 kB / 4.914 GB, free: 66.36 MB / 0.6042 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.0867/7.965, allocations: 46.75 MB / 4.959 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/7.965, allocations: 8 kB / 4.959 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/7.965, allocations: 19.98 kB / 4.959 GB, free: 18.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/7.965, allocations: 159.1 kB / 4.959 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/7.965, allocations: 33.62 kB / 4.959 GB, free: 18.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/7.965, allocations: 0 / 4.959 GB, free: 18.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.824e-05/7.965, allocations: 28.84 kB / 4.96 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/7.965, allocations: 49.66 kB / 4.96 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/7.965, allocations: 0 / 4.96 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/7.965, allocations: 0 / 4.96 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/7.965, allocations: 4 kB / 4.96 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/7.966, allocations: 237.4 kB / 4.96 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.952e-05/7.966, allocations: 22.58 kB / 4.96 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/7.966, allocations: 13.23 kB / 4.96 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/7.966, allocations: 0 / 4.96 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/7.966, allocations: 30.56 kB / 4.96 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/7.966, allocations: 0.5625 kB / 4.96 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/7.966, allocations: 29.7 kB / 4.96 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/7.966, allocations: 59.25 kB / 4.96 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/7.966, allocations: 109 kB / 4.96 GB, free: 17.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/7.966, allocations: 25.7 kB / 4.96 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/7.966, allocations: 84.05 kB / 4.96 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/7.966, allocations: 9.5 kB / 4.96 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/7.966, allocations: 0 / 4.96 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/7.966, allocations: 314.8 kB / 4.96 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/7.966, allocations: 4 kB / 4.96 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/7.966, allocations: 34.56 kB / 4.96 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/7.966, allocations: 4 kB / 4.96 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/7.966, allocations: 0 / 4.96 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.474e-05/7.966, allocations: 49.62 kB / 4.961 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/7.966, allocations: 6.031 kB / 4.961 GB, free: 17.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/7.966, allocations: 0 / 4.961 GB, free: 17.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/7.966, allocations: 0 / 4.961 GB, free: 17.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/7.967, allocations: 12.09 kB / 4.961 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/7.967, allocations: 0 / 4.961 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/7.967, allocations: 3.906 kB / 4.961 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/7.967, allocations: 8 kB / 4.961 GB, free: 17.42 MB / 0.6042 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 5.132e-05/7.967, allocations: 101 kB / 4.961 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/7.967, allocations: 20.52 kB / 4.961 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/7.967, allocations: 3.156 kB / 4.961 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/7.967, allocations: 0 / 4.961 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/7.967, allocations: 0 / 4.961 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/7.967, allocations: 4 kB / 4.961 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/7.967, allocations: 323.3 kB / 4.961 GB, free: 16.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/7.967, allocations: 0 / 4.961 GB, free: 16.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/7.967, allocations: 4 kB / 4.961 GB, free: 16.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/7.967, allocations: 2.25 kB / 4.961 GB, free: 16.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/7.967, allocations: 0 / 4.961 GB, free: 16.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/7.967, allocations: 0 / 4.961 GB, free: 16.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/7.967, allocations: 3.984 kB / 4.961 GB, free: 16.92 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.567e-05/7.967, allocations: 65.02 kB / 4.961 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000177/7.967, allocations: 449.5 kB / 4.962 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/7.967, allocations: 85.02 kB / 4.962 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/7.967, allocations: 0 / 4.962 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/7.967, allocations: 8.062 kB / 4.962 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/7.967, allocations: 0 / 4.962 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/7.967, allocations: 256 / 4.962 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.888e-05/7.968, allocations: 87.27 kB / 4.962 GB, free: 16.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009584/7.968, allocations: 76 kB / 4.962 GB, free: 16.11 MB / 0.6042 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.0007202/7.969, allocations: 0.6761 MB / 4.962 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.199e-05/7.969, allocations: 15.94 kB / 4.962 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/7.969, allocations: 0 / 4.962 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/7.969, allocations: 4 kB / 4.962 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/7.969, allocations: 7.906 kB / 4.962 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/7.97, allocations: 56.17 kB / 4.962 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/7.97, allocations: 0.688 MB / 4.963 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/7.97, allocations: 0 / 4.963 GB, free: 14.61 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)