Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [: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.514/1.514, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001153/0.001153, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.485/1.485, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0008851/0.0008855, allocations: 81.33 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.756e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6618, allocations: 116.3 MB / 0.9725 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.8439, allocations: 140.4 MB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.8442, allocations: 76.55 kB / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01112/0.8554, allocations: 3.121 MB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.8554, allocations: 0 / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005508/0.856, allocations: 402.2 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.8561, allocations: 8.031 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.8563, allocations: 39.78 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.8566, allocations: 190.9 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.8567, allocations: 37.64 kB / 1.113 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.8567, allocations: 4 kB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000168/0.8569, allocations: 51.98 kB / 1.113 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.8571, allocations: 77.61 kB / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8571, allocations: 0 / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.8571, allocations: 0 / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.8571, allocations: 2.531 kB / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.8578, allocations: 345 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.8583, allocations: 114.7 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.8584, allocations: 24.86 kB / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.8584, allocations: 0 / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.8584, allocations: 38.72 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.8584, allocations: 0 / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002277/0.8587, allocations: 75.8 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.8587, allocations: 59.41 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8588, allocations: 108.8 kB / 1.114 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.8589, allocations: 25.7 kB / 1.114 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.8589, allocations: 99.97 kB / 1.114 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.8589, allocations: 27.64 kB / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.859, allocations: 0 / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8591, allocations: 314.8 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.8591, allocations: 12 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/0.8592, allocations: 37.7 kB / 1.115 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.8592, allocations: 20 kB / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8593, allocations: 0 / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001454/0.8594, allocations: 77.53 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8594, allocations: 10.66 kB / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8595, allocations: 0 / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8595, allocations: 0 / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.8596, allocations: 24.02 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8596, allocations: 0 / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.8597, allocations: 15.89 kB / 1.115 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.8598, allocations: 8 kB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.185e-05/0.8598, allocations: 106.4 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.8599, allocations: 11.91 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.8599, allocations: 8.375 kB / 1.115 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8599, allocations: 4 kB / 1.115 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.86, allocations: 0 / 1.115 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.86, allocations: 11.83 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.8602, allocations: 178.3 kB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8602, allocations: 0 / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.8603, allocations: 19.98 kB / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.8603, allocations: 7.984 kB / 1.115 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.8603, allocations: 0 / 1.115 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.8603, allocations: 0 / 1.115 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8603, allocations: 4 kB / 1.115 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001917/0.8605, allocations: 174.2 kB / 1.115 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.8606, allocations: 81.02 kB / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.8606, allocations: 0 / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.8608, allocations: 25.67 kB / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.8609, allocations: 7.984 kB / 1.116 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.8609, allocations: 4 kB / 1.116 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.907e-05/0.8609, allocations: 87.28 kB / 1.116 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000241/0.8612, allocations: 19.91 kB / 1.116 GB, free: 1.672 MB / 0.7136 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 (7): * Single equations (assignments): 7 * 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.0001934/0.8614, allocations: 107.2 kB / 1.116 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.8615, allocations: 47.98 kB / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8615, allocations: 0 / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.8616, allocations: 27.94 kB / 1.116 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.8619, allocations: 15.25 kB / 1.116 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.8623, allocations: 133.5 kB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.8627, allocations: 0.7153 MB / 1.117 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.8627, allocations: 0 / 1.117 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of Templates: time 0.004212/0.8669, allocations: 1.305 MB / 1.118 GB, free: 15.33 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)