Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 177.3 kB / 360.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.1 MB / 0.6187 GB, free: 13.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001263, allocations: 93.89 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2694/0.2707, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.8735, allocations: 115.2 MB / 0.9627 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.04/11.91, allocations: 4.61 GB / 5.573 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/11.91, allocations: 82.02 kB / 5.573 GB, free: 244.8 MB / 0.9323 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.1626/12.08, allocations: 44.87 MB / 5.617 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/12.08, allocations: 8.5 kB / 5.617 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/12.08, allocations: 39.5 kB / 5.617 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/12.08, allocations: 163 kB / 5.617 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/12.08, allocations: 26.36 kB / 5.617 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/12.08, allocations: 4 kB / 5.617 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/12.08, allocations: 19.8 kB / 5.617 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/12.08, allocations: 37.69 kB / 5.617 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/12.08, allocations: 0 / 5.617 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/12.08, allocations: 0 / 5.617 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/12.08, allocations: 11.91 kB / 5.617 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/12.08, allocations: 240.4 kB / 5.617 GB, free: 208 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.455e-05/12.08, allocations: 22.42 kB / 5.617 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/12.08, allocations: 8.922 kB / 5.617 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/12.08, allocations: 0 / 5.617 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/12.08, allocations: 38.12 kB / 5.617 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/12.08, allocations: 0 / 5.617 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.000137/12.08, allocations: 33.69 kB / 5.617 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/12.08, allocations: 51.41 kB / 5.617 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/12.08, allocations: 96.81 kB / 5.617 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/12.08, allocations: 25.7 kB / 5.617 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/12.08, allocations: 87.95 kB / 5.618 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/12.08, allocations: 11.97 kB / 5.618 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/12.08, allocations: 0 / 5.618 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/12.08, allocations: 318.6 kB / 5.618 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/12.08, allocations: 7.938 kB / 5.618 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/12.08, allocations: 21.89 kB / 5.618 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/12.08, allocations: 7.984 kB / 5.618 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/12.08, allocations: 4 kB / 5.618 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.706e-05/12.08, allocations: 53.11 kB / 5.618 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/12.08, allocations: 4 kB / 5.618 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-06/12.08, allocations: 2.5 kB / 5.618 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/12.08, allocations: 0 / 5.618 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/12.08, allocations: 11.98 kB / 5.618 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/12.08, allocations: 0 / 5.618 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.67e-05/12.08, allocations: 0 / 5.618 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/12.08, allocations: 7.938 kB / 5.618 GB, free: 207.1 MB / 0.9323 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 6.208e-05/12.08, allocations: 112.8 kB / 5.618 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/12.08, allocations: 4 kB / 5.618 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/12.08, allocations: 3.406 kB / 5.618 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/12.08, allocations: 0 / 5.618 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/12.08, allocations: 4 kB / 5.618 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/12.08, allocations: 3.906 kB / 5.618 GB, free: 207 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/12.08, allocations: 326.7 kB / 5.618 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/12.08, allocations: 4.031 kB / 5.618 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/12.08, allocations: 4.094 kB / 5.618 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/12.08, allocations: 3.984 kB / 5.618 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/12.08, allocations: 0 / 5.618 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/12.08, allocations: 3.906 kB / 5.618 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/12.08, allocations: 0 / 5.618 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.454e-05/12.08, allocations: 56.77 kB / 5.618 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002071/12.08, allocations: 463.9 kB / 5.619 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/12.08, allocations: 81.11 kB / 5.619 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/12.08, allocations: 3.906 kB / 5.619 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/12.08, allocations: 7.984 kB / 5.619 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/12.08, allocations: 0 / 5.619 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/12.08, allocations: 0 / 5.619 GB, free: 206 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.515e-05/12.08, allocations: 86.94 kB / 5.619 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001316/12.08, allocations: 77.11 kB / 5.619 GB, free: 205.9 MB / 0.9323 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.0008521/12.08, allocations: 0.659 MB / 5.62 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001127/12.08, allocations: 17.31 kB / 5.62 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/12.08, allocations: 0 / 5.62 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-06/12.08, allocations: 4 kB / 5.62 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/12.08, allocations: 12.84 kB / 5.62 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/12.08, allocations: 52.5 kB / 5.62 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/12.08, allocations: 0.688 MB / 5.621 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/12.08, allocations: 0 / 5.621 GB, free: 204.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)