Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [: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.5/1.5, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001105/0.001105, allocations: 177.2 kB / 366.3 MB, free: 1.953 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.233/1.233, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0008846/0.0008846, allocations: 86.77 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.633e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6578, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.8717, allocations: 164.7 MB / 1.133 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.872, allocations: 80.86 kB / 1.134 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.003592/0.8756, allocations: 1.302 MB / 1.135 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.8756, allocations: 0 / 1.135 GB, free: 14.29 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003498/0.876, allocations: 318.5 kB / 1.135 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.876, allocations: 8.031 kB / 1.135 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.8761, allocations: 7.906 kB / 1.135 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.8762, allocations: 167 kB / 1.135 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.8763, allocations: 35.28 kB / 1.135 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.8764, allocations: 3.938 kB / 1.135 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.842e-05/0.8764, allocations: 4 kB / 1.135 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.8765, allocations: 33.7 kB / 1.135 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.8765, allocations: 0 / 1.135 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.8766, allocations: 0 / 1.135 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.8766, allocations: 3.906 kB / 1.135 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.8768, allocations: 130.2 kB / 1.135 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.8769, allocations: 30.58 kB / 1.135 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.8769, allocations: 8.859 kB / 1.135 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.8771, allocations: 97.22 kB / 1.136 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.8771, allocations: 34.5 kB / 1.136 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.8772, allocations: 0 / 1.136 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002461/0.8774, allocations: 45.64 kB / 1.136 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.8775, allocations: 59.41 kB / 1.136 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.8775, allocations: 94.94 kB / 1.136 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.8776, allocations: 25.7 kB / 1.136 GB, free: 13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.8776, allocations: 84.14 kB / 1.136 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.8776, allocations: 3.906 kB / 1.136 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.8777, allocations: 0 / 1.136 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8778, allocations: 314.8 kB / 1.136 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.8778, allocations: 4 kB / 1.136 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.8778, allocations: 8 kB / 1.136 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.8779, allocations: 7.984 kB / 1.136 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8779, allocations: 0 / 1.136 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001112/0.878, allocations: 53.53 kB / 1.136 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.878, allocations: 4 kB / 1.136 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.8781, allocations: 0 / 1.136 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8781, allocations: 0 / 1.136 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.8782, allocations: 11.92 kB / 1.136 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.8782, allocations: 0 / 1.136 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.8782, allocations: 4 kB / 1.136 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.8782, allocations: 6.031 kB / 1.136 GB, free: 12.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.52e-05/0.8783, allocations: 101 kB / 1.136 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.8783, allocations: 7.906 kB / 1.136 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.8785, allocations: 53.36 kB / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8785, allocations: 5.062 kB / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8785, allocations: 0 / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8785, allocations: 0 / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.8786, allocations: 138.1 kB / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8786, allocations: 0 / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.8787, allocations: 8 kB / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8787, allocations: 0 / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.8787, allocations: 0 / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.8787, allocations: 4 kB / 1.137 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8787, allocations: 4 kB / 1.137 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001325/0.8789, allocations: 73.02 kB / 1.137 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.879, allocations: 77.11 kB / 1.137 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.879, allocations: 0.6562 kB / 1.137 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.879, allocations: 8 kB / 1.137 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.8791, allocations: 3.984 kB / 1.137 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.8791, allocations: 0 / 1.137 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.955e-05/0.8791, allocations: 83.7 kB / 1.137 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002117/0.8793, allocations: 11.94 kB / 1.137 GB, free: 11.84 MB / 0.7448 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 (3): * Single equations (assignments): 3 * 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.0002732/0.8796, allocations: 147 kB / 1.137 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.024e-05/0.8797, allocations: 13.03 kB / 1.137 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.8797, allocations: 0 / 1.137 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.8797, allocations: 8 kB / 1.137 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.8799, allocations: 7.984 kB / 1.137 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.8801, allocations: 59.86 kB / 1.137 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.8805, allocations: 0.6879 MB / 1.138 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of SimCode: time 2.454e-06/0.8805, allocations: 0.6562 kB / 1.138 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.00309/0.8836, allocations: 0.7203 MB / 1.138 GB, free: 10.18 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)