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: translateModel(IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirProperties") translateModel(IBPSA.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirProperties") [: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.001046/0.001046, allocations: 188.8 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4423/0.4423, allocations: 90.85 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.138/1.138, allocations: 221.4 MB / 342.8 MB, free: 5.105 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.0009071/0.0009071, allocations: 101 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/8.997e-06, allocations: 4 kB / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 72.29 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.895/3.17, allocations: 1.874 GB / 2.427 GB, free: 199.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/3.17, allocations: 64.53 kB / 2.427 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.08907/3.26, allocations: 47.49 MB / 2.473 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.827e-06/3.26, allocations: 4 kB / 2.473 GB, free: 151.9 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.0009173/3.261, allocations: 0.549 MB / 2.474 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/3.261, allocations: 8.031 kB / 2.474 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/3.262, allocations: 143.6 kB / 2.474 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/3.262, allocations: 226.7 kB / 2.474 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/3.262, allocations: 7.938 kB / 2.474 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/3.262, allocations: 12 kB / 2.474 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004387/3.263, allocations: 324.6 kB / 2.475 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/3.263, allocations: 293.5 kB / 2.475 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/3.263, allocations: 7.938 kB / 2.475 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/3.263, allocations: 2.719 kB / 2.475 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/3.263, allocations: 15.98 kB / 2.475 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/3.264, allocations: 1.107 MB / 2.476 GB, free: 149 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/3.265, allocations: 178.9 kB / 2.476 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/3.265, allocations: 84.92 kB / 2.476 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/3.265, allocations: 356.4 kB / 2.477 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/3.265, allocations: 38.56 kB / 2.477 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 1.552e-06/3.265, allocations: 0 / 2.477 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.0004528/3.266, allocations: 186.8 kB / 2.477 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/3.266, allocations: 59.34 kB / 2.477 GB, free: 148 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/3.266, allocations: 142.1 kB / 2.477 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/3.266, allocations: 25.7 kB / 2.477 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/3.266, allocations: 147.9 kB / 2.477 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/3.266, allocations: 82.78 kB / 2.477 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/3.266, allocations: 0 / 2.477 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/3.266, allocations: 326.8 kB / 2.478 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/3.266, allocations: 60.25 kB / 2.478 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/3.266, allocations: 155.7 kB / 2.478 GB, free: 147 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/3.266, allocations: 91.81 kB / 2.478 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/3.266, allocations: 0 / 2.478 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003926/3.267, allocations: 257.3 kB / 2.478 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/3.267, allocations: 4 kB / 2.478 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/3.267, allocations: 4 kB / 2.478 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/3.267, allocations: 4 kB / 2.478 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/3.267, allocations: 59.91 kB / 2.478 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/3.267, allocations: 7.938 kB / 2.478 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/3.267, allocations: 19.75 kB / 2.478 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/3.267, allocations: 16.23 kB / 2.478 GB, free: 146.6 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 6.954e-05/3.268, allocations: 116.9 kB / 2.478 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/3.268, allocations: 21.69 kB / 2.478 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/3.268, allocations: 218.2 kB / 2.479 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/3.268, allocations: 7.984 kB / 2.479 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/3.268, allocations: 0 / 2.479 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/3.268, allocations: 0 / 2.479 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/3.269, allocations: 0.4964 MB / 2.479 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/3.269, allocations: 0 / 2.479 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/3.269, allocations: 35.92 kB / 2.479 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/3.269, allocations: 0 / 2.479 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/3.269, allocations: 4 kB / 2.479 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/3.269, allocations: 0 / 2.479 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/3.269, allocations: 4 kB / 2.479 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000321/3.269, allocations: 330.3 kB / 2.479 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/3.269, allocations: 112.9 kB / 2.48 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/3.269, allocations: 3.906 kB / 2.48 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/3.27, allocations: 15.98 kB / 2.48 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/3.27, allocations: 15.98 kB / 2.48 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/3.27, allocations: 11.98 kB / 2.48 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.243e-05/3.27, allocations: 117.8 kB / 2.48 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005438/3.27, allocations: 143.8 kB / 2.48 GB, free: 144.8 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.000882/3.271, allocations: 0.7453 MB / 2.481 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002649/3.271, allocations: 176.5 kB / 2.481 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/3.271, allocations: 4.062 kB / 2.481 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/3.271, allocations: 79.91 kB / 2.481 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/3.272, allocations: 45.58 kB / 2.481 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/3.272, allocations: 234 kB / 2.481 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/3.273, allocations: 0.7609 MB / 2.482 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/3.273, allocations: 4 kB / 2.482 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01086/3.284, allocations: 7.548 MB / 2.489 GB, free: 135.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirProperties.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)