Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirProperties.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.188/2.188, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 185.2 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001277/0.001276, allocations: 88.06 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.534e-06, allocations: 0 / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6249/0.625, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.62, allocations: 2.076 GB / 3.038 GB, free: 272 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/5.62, allocations: 71.09 kB / 3.039 GB, free: 272 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1858/5.806, allocations: 49.9 MB / 3.087 GB, free: 261.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.118e-05/5.806, allocations: 5.562 kB / 3.087 GB, free: 261.2 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001321/5.807, allocations: 0.5672 MB / 3.088 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/5.807, allocations: 7.875 kB / 3.088 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/5.809, allocations: 149.8 kB / 3.088 GB, free: 260.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/5.809, allocations: 222.1 kB / 3.088 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/5.809, allocations: 7.469 kB / 3.088 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/5.809, allocations: 9.594 kB / 3.088 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007771/5.81, allocations: 326 kB / 3.089 GB, free: 260.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/5.811, allocations: 292.9 kB / 3.089 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/5.811, allocations: 0 / 3.089 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/5.811, allocations: 2.875 kB / 3.089 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/5.811, allocations: 16.67 kB / 3.089 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/5.813, allocations: 1.098 MB / 3.09 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/5.814, allocations: 182.6 kB / 3.09 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/5.814, allocations: 83.75 kB / 3.09 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/5.814, allocations: 355.7 kB / 3.091 GB, free: 258.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/5.814, allocations: 36.53 kB / 3.091 GB, free: 258.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/5.814, allocations: 0 / 3.091 GB, free: 258.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=21): time 0.0006921/5.815, allocations: 196.6 kB / 3.091 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/5.815, allocations: 54.59 kB / 3.091 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/5.815, allocations: 140.5 kB / 3.091 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/5.815, allocations: 25.7 kB / 3.091 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/5.815, allocations: 149.5 kB / 3.091 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/5.816, allocations: 71.73 kB / 3.091 GB, free: 258.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/5.816, allocations: 112 / 3.091 GB, free: 258.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/5.816, allocations: 329.1 kB / 3.091 GB, free: 258 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/5.816, allocations: 74.08 kB / 3.092 GB, free: 258 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/5.816, allocations: 148.3 kB / 3.092 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/5.816, allocations: 91.09 kB / 3.092 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/5.816, allocations: 1.375 kB / 3.092 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007243/5.817, allocations: 245.7 kB / 3.092 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/5.817, allocations: 9.312 kB / 3.092 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/5.817, allocations: 5.156 kB / 3.092 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/5.817, allocations: 7.828 kB / 3.092 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/5.818, allocations: 56.2 kB / 3.092 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/5.818, allocations: 8.219 kB / 3.092 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/5.818, allocations: 28.8 kB / 3.092 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/5.818, allocations: 14.23 kB / 3.092 GB, free: 257.7 MB / 0.9323 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 0.0001027/5.818, allocations: 119.3 kB / 3.092 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/5.818, allocations: 17 kB / 3.092 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/5.819, allocations: 222.8 kB / 3.092 GB, free: 257.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/5.819, allocations: 1.375 kB / 3.092 GB, free: 257.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/5.819, allocations: 5.281 kB / 3.092 GB, free: 257.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/5.819, allocations: 4 kB / 3.092 GB, free: 257.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/5.82, allocations: 0.4906 MB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/5.82, allocations: 0 / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/5.821, allocations: 34.7 kB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/5.821, allocations: 1.719 kB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/5.821, allocations: 1.688 kB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/5.821, allocations: 5.219 kB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/5.821, allocations: 5.25 kB / 3.093 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005711/5.821, allocations: 318.7 kB / 3.093 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/5.821, allocations: 120.7 kB / 3.093 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/5.821, allocations: 0.8125 kB / 3.093 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/5.822, allocations: 13.23 kB / 3.093 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/5.822, allocations: 16.83 kB / 3.093 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/5.822, allocations: 8.688 kB / 3.093 GB, free: 256.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.915e-05/5.822, allocations: 117 kB / 3.094 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008426/5.823, allocations: 139.6 kB / 3.094 GB, free: 256.7 MB / 0.9323 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.001181/5.824, allocations: 0.7308 MB / 3.094 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000533/5.825, allocations: 185.4 kB / 3.095 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/5.825, allocations: 2.75 kB / 3.095 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/5.825, allocations: 79.66 kB / 3.095 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/5.826, allocations: 43.89 kB / 3.095 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/5.826, allocations: 230.7 kB / 3.095 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/5.827, allocations: 0.769 MB / 3.096 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of SimCode: time 7.02e-07/5.827, allocations: 3.938 kB / 3.096 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.01926/5.846, allocations: 7.457 MB / 3.103 GB, free: 251.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirProperties.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe 2>&1)