Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001212/0.001212, allocations: 181.2 kB / 366.3 MB, free: 1.984 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.525/1.525, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009865/0.0009865, allocations: 96.62 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.773e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7397, allocations: 116.3 MB / 0.9725 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.8/5.54, allocations: 2.077 GB / 3.049 GB, free: 359 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/5.54, allocations: 71.98 kB / 3.049 GB, free: 359 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.108/5.648, allocations: 49.9 MB / 3.098 GB, free: 338.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.596e-06/5.648, allocations: 4 kB / 3.098 GB, free: 338.4 MB / 0.948 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.001056/5.649, allocations: 0.5614 MB / 3.099 GB, free: 337.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/5.649, allocations: 8.031 kB / 3.099 GB, free: 337.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/5.651, allocations: 147.6 kB / 3.099 GB, free: 337.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/5.651, allocations: 214.8 kB / 3.099 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/5.651, allocations: 8 kB / 3.099 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/5.651, allocations: 19.88 kB / 3.099 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004657/5.652, allocations: 324.6 kB / 3.099 GB, free: 337.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/5.652, allocations: 282 kB / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/5.652, allocations: 3.938 kB / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/5.652, allocations: 4 kB / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/5.652, allocations: 15.89 kB / 3.1 GB, free: 336.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/5.653, allocations: 1.105 MB / 3.101 GB, free: 335.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/5.654, allocations: 189 kB / 3.101 GB, free: 335.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/5.654, allocations: 81 kB / 3.101 GB, free: 335.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/5.654, allocations: 356.5 kB / 3.101 GB, free: 334.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/5.654, allocations: 42.56 kB / 3.101 GB, free: 334.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/5.654, allocations: 4 kB / 3.101 GB, free: 334.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0004771/5.655, allocations: 180.6 kB / 3.102 GB, free: 334.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/5.655, allocations: 51.41 kB / 3.102 GB, free: 334.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/5.655, allocations: 144.2 kB / 3.102 GB, free: 334.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/5.655, allocations: 25.7 kB / 3.102 GB, free: 334.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/5.655, allocations: 151.8 kB / 3.102 GB, free: 334.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/5.655, allocations: 75.05 kB / 3.102 GB, free: 334.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/5.655, allocations: 3.938 kB / 3.102 GB, free: 334.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/5.655, allocations: 334.7 kB / 3.102 GB, free: 333.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/5.655, allocations: 60.25 kB / 3.102 GB, free: 333.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/5.655, allocations: 147.7 kB / 3.103 GB, free: 333.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/5.656, allocations: 95.05 kB / 3.103 GB, free: 333.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/5.656, allocations: 0 / 3.103 GB, free: 333.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003885/5.656, allocations: 253.2 kB / 3.103 GB, free: 333.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/5.656, allocations: 7.906 kB / 3.103 GB, free: 333.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/5.656, allocations: 4 kB / 3.103 GB, free: 333.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/5.656, allocations: 4 kB / 3.103 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/5.656, allocations: 60.28 kB / 3.103 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/5.656, allocations: 11.94 kB / 3.103 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/5.656, allocations: 19.75 kB / 3.103 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/5.657, allocations: 12 kB / 3.103 GB, free: 333.1 MB / 0.948 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 7.074e-05/5.657, allocations: 112.9 kB / 3.103 GB, free: 333 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/5.657, allocations: 15.81 kB / 3.103 GB, free: 333 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/5.657, allocations: 230.2 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/5.657, allocations: 4 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/5.657, allocations: 7.906 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/5.657, allocations: 0 / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/5.658, allocations: 499.4 kB / 3.104 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/5.658, allocations: 0 / 3.104 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/5.658, allocations: 31.92 kB / 3.104 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/5.658, allocations: 4 kB / 3.104 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/5.658, allocations: 0 / 3.104 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/5.658, allocations: 11.97 kB / 3.104 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.658, allocations: 3.984 kB / 3.104 GB, free: 332.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003282/5.658, allocations: 311.2 kB / 3.104 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/5.658, allocations: 116.8 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/5.658, allocations: 11.98 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/5.659, allocations: 4 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/5.659, allocations: 19.83 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/5.659, allocations: 11.98 kB / 3.104 GB, free: 331.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-05/5.659, allocations: 115.2 kB / 3.104 GB, free: 331.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005886/5.659, allocations: 135.9 kB / 3.105 GB, free: 331.4 MB / 0.948 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.0008704/5.66, allocations: 0.7258 MB / 3.105 GB, free: 330.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002763/5.66, allocations: 187.6 kB / 3.105 GB, free: 330.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/5.66, allocations: 0 / 3.105 GB, free: 330.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/5.661, allocations: 75.91 kB / 3.106 GB, free: 330.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/5.661, allocations: 48.83 kB / 3.106 GB, free: 330.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/5.661, allocations: 234.6 kB / 3.106 GB, free: 330.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/5.662, allocations: 0.7729 MB / 3.107 GB, free: 329.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/5.662, allocations: 0 / 3.107 GB, free: 329.4 MB / 0.948 GB Notification: Performance of Templates: time 0.01152/5.673, allocations: 7.459 MB / 3.114 GB, free: 322 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & ./Buildings_8_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)