Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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.003866/0.003866, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8495/0.8495, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 91.55 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4475/0.4488, allocations: 88.44 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.632, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.59/11.22, allocations: 4.37 GB / 5.003 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/11.22, allocations: 79.95 kB / 5.003 GB, free: 18.3 MB / 0.6823 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.4462/11.67, allocations: 46.75 MB / 5.049 GB, free: 240 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/11.67, allocations: 13.31 kB / 5.049 GB, free: 240 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/11.67, allocations: 25.88 kB / 5.049 GB, free: 240 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/11.67, allocations: 162.8 kB / 5.049 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/11.67, allocations: 33.62 kB / 5.049 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/11.67, allocations: 1.062 kB / 5.049 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.745e-05/11.67, allocations: 19.5 kB / 5.049 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/11.67, allocations: 54.34 kB / 5.049 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/11.67, allocations: 0 / 5.049 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/11.67, allocations: 0 / 5.049 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/11.67, allocations: 6.781 kB / 5.049 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/11.67, allocations: 234.3 kB / 5.05 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/11.67, allocations: 16.83 kB / 5.05 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/11.67, allocations: 6.609 kB / 5.05 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/11.67, allocations: 0 / 5.05 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/11.67, allocations: 39.66 kB / 5.05 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/11.67, allocations: 1.031 kB / 5.05 GB, free: 239.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/11.67, allocations: 31.91 kB / 5.05 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/11.67, allocations: 52.56 kB / 5.05 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/11.67, allocations: 103.5 kB / 5.05 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/11.67, allocations: 26.73 kB / 5.05 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/11.67, allocations: 90.52 kB / 5.05 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/11.67, allocations: 1.828 kB / 5.05 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/11.67, allocations: 7.969 kB / 5.05 GB, free: 239 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/11.67, allocations: 317.5 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/11.67, allocations: 3.844 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/11.67, allocations: 24.2 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/11.67, allocations: 5.734 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/11.67, allocations: 1.062 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.534e-05/11.67, allocations: 54.97 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/11.67, allocations: 4.875 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/11.67, allocations: 1 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/11.67, allocations: 1.906 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/11.67, allocations: 10.62 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/11.67, allocations: 0.9688 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/11.67, allocations: 11.44 kB / 5.05 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/11.67, allocations: 2.031 kB / 5.05 GB, free: 238.7 MB / 0.6823 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 4.652e-05/11.67, allocations: 107 kB / 5.051 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/11.67, allocations: 2.125 kB / 5.051 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/11.67, allocations: 8.75 kB / 5.051 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/11.67, allocations: 0 / 5.051 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/11.67, allocations: 1.344 kB / 5.051 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/11.67, allocations: 0.5156 kB / 5.051 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/11.67, allocations: 323.8 kB / 5.051 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/11.67, allocations: 0 / 5.051 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/11.67, allocations: 9.688 kB / 5.051 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/11.67, allocations: 1 kB / 5.051 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/11.67, allocations: 0 / 5.051 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/11.67, allocations: 1.875 kB / 5.051 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/11.67, allocations: 0 / 5.051 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.291e-05/11.67, allocations: 61.23 kB / 5.051 GB, free: 238.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001561/11.67, allocations: 455 kB / 5.051 GB, free: 237.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/11.67, allocations: 83.55 kB / 5.051 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/11.67, allocations: 0 / 5.051 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/11.67, allocations: 5.953 kB / 5.051 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/11.67, allocations: 0.8906 kB / 5.051 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/11.67, allocations: 1.562 kB / 5.051 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.018e-05/11.67, allocations: 91.86 kB / 5.052 GB, free: 237.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008855/11.67, allocations: 76.53 kB / 5.052 GB, free: 237.4 MB / 0.6823 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.0009291/11.67, allocations: 0.6586 MB / 5.052 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.537e-05/11.67, allocations: 9.094 kB / 5.052 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/11.67, allocations: 5.094 kB / 5.052 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.21e-06/11.67, allocations: 1.562 kB / 5.052 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/11.67, allocations: 12.59 kB / 5.052 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/11.67, allocations: 59.33 kB / 5.052 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/11.67, allocations: 0.6907 MB / 5.053 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/11.67, allocations: 0.9688 kB / 5.053 GB, free: 236.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)