Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirProperties.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.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",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.001521/0.001521, allocations: 187.6 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5007/0.5007, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.227/1.227, allocations: 221.4 MB / 342.7 MB, free: 5.129 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.0009383/0.0009383, allocations: 94.31 kB / 415.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1586/0.1596, allocations: 78.43 MB / 493.9 MB, free: 7.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.5188, allocations: 72.3 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.493/4.012, allocations: 1.874 GB / 2.427 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/4.012, allocations: 68.94 kB / 2.427 GB, free: 201.5 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.09357/4.106, allocations: 48.04 MB / 2.474 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/4.106, allocations: 12 kB / 2.474 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/4.107, allocations: 147.6 kB / 2.474 GB, free: 153 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/4.107, allocations: 222.7 kB / 2.474 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/4.108, allocations: 12 kB / 2.474 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/4.108, allocations: 8 kB / 2.474 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000496/4.108, allocations: 324.6 kB / 2.475 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/4.108, allocations: 293.4 kB / 2.475 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/4.108, allocations: 7.938 kB / 2.475 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/4.108, allocations: 0 / 2.475 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/4.109, allocations: 16 kB / 2.475 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/4.11, allocations: 1.107 MB / 2.476 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/4.11, allocations: 178.9 kB / 2.476 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/4.11, allocations: 80.92 kB / 2.476 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/4.111, allocations: 360.4 kB / 2.477 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/4.111, allocations: 38.56 kB / 2.477 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/4.111, allocations: 3.938 kB / 2.477 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.0004992/4.111, allocations: 187 kB / 2.477 GB, free: 150 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/4.111, allocations: 55.41 kB / 2.477 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/4.111, allocations: 141.1 kB / 2.477 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/4.111, allocations: 29.7 kB / 2.477 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/4.112, allocations: 151.8 kB / 2.477 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/4.112, allocations: 70.86 kB / 2.477 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/4.112, allocations: 0 / 2.477 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.072e-05/4.112, allocations: 326.8 kB / 2.478 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/4.112, allocations: 68.34 kB / 2.478 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/4.112, allocations: 155.6 kB / 2.478 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/4.112, allocations: 95.62 kB / 2.478 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/4.112, allocations: 0 / 2.478 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004202/4.113, allocations: 257.1 kB / 2.478 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/4.113, allocations: 4 kB / 2.478 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/4.113, allocations: 4.375 kB / 2.478 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/4.113, allocations: 8 kB / 2.478 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/4.113, allocations: 55.92 kB / 2.478 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/4.113, allocations: 7.984 kB / 2.478 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/4.113, allocations: 19.75 kB / 2.478 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/4.113, allocations: 12 kB / 2.478 GB, free: 148.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.237e-05/4.113, allocations: 112.9 kB / 2.478 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/4.113, allocations: 15.81 kB / 2.478 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/4.114, allocations: 234.2 kB / 2.479 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/4.114, allocations: 3.984 kB / 2.479 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/4.114, allocations: 0 / 2.479 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/4.114, allocations: 0 / 2.479 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/4.115, allocations: 0.4973 MB / 2.479 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/4.115, allocations: 0 / 2.479 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/4.115, allocations: 32.05 kB / 2.479 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/4.115, allocations: 4 kB / 2.479 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/4.115, allocations: 0 / 2.479 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/4.115, allocations: 7.984 kB / 2.479 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/4.115, allocations: 0 / 2.479 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000383/4.115, allocations: 330.2 kB / 2.48 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006177/4.116, allocations: 0.7131 MB / 2.48 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/4.116, allocations: 120.8 kB / 2.48 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/4.116, allocations: 3.938 kB / 2.48 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/4.116, allocations: 11.98 kB / 2.48 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/4.116, allocations: 11.89 kB / 2.48 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/4.117, allocations: 15.98 kB / 2.48 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.485e-05/4.117, allocations: 111.3 kB / 2.48 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001554/4.118, allocations: 207.8 kB / 2.481 GB, free: 145.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009846/4.119, allocations: 0.7262 MB / 2.481 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003481/4.12, allocations: 181.8 kB / 2.482 GB, free: 145 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/4.12, allocations: 0 / 2.482 GB, free: 145 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/4.12, allocations: 75.91 kB / 2.482 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/4.12, allocations: 54.78 kB / 2.482 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/4.121, allocations: 229.9 kB / 2.482 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/4.121, allocations: 0.7687 MB / 2.483 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/4.121, allocations: 0 / 2.483 GB, free: 143.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)