Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.417/1.417, allocations: 285.5 MB / 292.8 MB, free: 9.926 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.0009297/0.0009298, allocations: 185.2 kB / 361.1 MB, free: 380 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 0.6195 GB, free: 2.953 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007725/0.0007724, allocations: 81.12 kB / 0.7326 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4396/0.4404, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.614, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.583/8.197, allocations: 4.61 GB / 5.574 GB, free: 175 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/8.198, allocations: 79.94 kB / 5.574 GB, free: 175 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.07667/8.274, allocations: 44.88 MB / 5.618 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/8.274, allocations: 12 kB / 5.618 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/8.275, allocations: 15.98 kB / 5.618 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/8.275, allocations: 167 kB / 5.618 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/8.275, allocations: 33.64 kB / 5.618 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/8.275, allocations: 0 / 5.618 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.038e-05/8.275, allocations: 19.98 kB / 5.618 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.185e-05/8.275, allocations: 45.69 kB / 5.618 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/8.275, allocations: 7.938 kB / 5.618 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/8.275, allocations: 0 / 5.618 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/8.275, allocations: 0 / 5.618 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/8.275, allocations: 241.4 kB / 5.618 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.181e-05/8.275, allocations: 18.58 kB / 5.618 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/8.275, allocations: 8.859 kB / 5.618 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/8.275, allocations: 3.906 kB / 5.618 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/8.276, allocations: 34.62 kB / 5.618 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.893e-06/8.276, allocations: 0 / 5.618 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001233/8.276, allocations: 33.64 kB / 5.618 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/8.276, allocations: 51.41 kB / 5.619 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/8.276, allocations: 101 kB / 5.619 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/8.276, allocations: 25.7 kB / 5.619 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/8.276, allocations: 95.92 kB / 5.619 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/8.276, allocations: 7.938 kB / 5.619 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/8.276, allocations: 0 / 5.619 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/8.276, allocations: 315.2 kB / 5.619 GB, free: 128 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/8.276, allocations: 3.984 kB / 5.619 GB, free: 128 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/8.276, allocations: 22.58 kB / 5.619 GB, free: 128 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/8.276, allocations: 12 kB / 5.619 GB, free: 128 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/8.276, allocations: 0 / 5.619 GB, free: 128 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.564e-05/8.276, allocations: 49.53 kB / 5.619 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/8.276, allocations: 8 kB / 5.619 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/8.276, allocations: 0 / 5.619 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/8.276, allocations: 0 / 5.619 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/8.276, allocations: 4 kB / 5.619 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/8.276, allocations: 4 kB / 5.619 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/8.276, allocations: 4.094 kB / 5.619 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/8.276, allocations: 12.23 kB / 5.619 GB, free: 127.9 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 4.865e-05/8.276, allocations: 110.9 kB / 5.619 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/8.276, allocations: 3.938 kB / 5.619 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/8.276, allocations: 7.156 kB / 5.619 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/8.276, allocations: 4 kB / 5.619 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/8.276, allocations: 0 / 5.619 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/8.276, allocations: 0 / 5.619 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/8.277, allocations: 327.3 kB / 5.62 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/8.277, allocations: 0 / 5.62 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/8.277, allocations: 0 / 5.62 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/8.277, allocations: 3.984 kB / 5.62 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/8.277, allocations: 0 / 5.62 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/8.277, allocations: 0 / 5.62 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/8.277, allocations: 4 kB / 5.62 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.984e-05/8.277, allocations: 65 kB / 5.62 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000147/8.277, allocations: 461.4 kB / 5.62 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/8.277, allocations: 81.19 kB / 5.62 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/8.277, allocations: 0 / 5.62 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/8.277, allocations: 4 kB / 5.62 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/8.277, allocations: 11.95 kB / 5.62 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/8.277, allocations: 4 kB / 5.62 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.408e-05/8.277, allocations: 79.28 kB / 5.62 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009266/8.278, allocations: 79.98 kB / 5.62 GB, free: 126.6 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.0006488/8.279, allocations: 0.6637 MB / 5.621 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.171e-05/8.279, allocations: 15.94 kB / 5.621 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/8.279, allocations: 0 / 5.621 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/8.279, allocations: 4 kB / 5.621 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/8.279, allocations: 4.75 kB / 5.621 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/8.279, allocations: 55.92 kB / 5.621 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/8.279, allocations: 0.6918 MB / 5.622 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of SimCode: time 4.1e-07/8.279, allocations: 256 / 5.622 GB, free: 125.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)