Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7334/0.7334, allocations: 141.8 MB / 149.1 MB, free: 4.391 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 192.7 kB / 181.9 MB, free: 72 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.4 MB / 436 MB, free: 9.305 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009705/0.0009709, allocations: 96.98 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 272.1 kB / 0.5884 GB, free: 12.25 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.367e-06/9.407e-06, allocations: 4 kB / 0.6759 GB, free: 2.617 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.442, allocations: 82.77 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.5695, allocations: 110.1 MB / 0.8643 GB, free: 2.547 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.5698, allocations: 75.89 kB / 0.8643 GB, free: 2.473 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.0098/0.5796, allocations: 3.171 MB / 0.8674 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.5797, allocations: 0 / 0.8674 GB, free: 15.33 MB / 0.5419 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.0005924/0.5803, allocations: 403 kB / 0.8678 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5803, allocations: 11.97 kB / 0.8678 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.5806, allocations: 35.88 kB / 0.8679 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.5809, allocations: 186.9 kB / 0.868 GB, free: 14.62 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.623e-05/0.5809, allocations: 33.7 kB / 0.8681 GB, free: 14.59 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.581, allocations: 11.84 kB / 0.8681 GB, free: 14.57 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001667/0.5812, allocations: 53.58 kB / 0.8681 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.5813, allocations: 65.69 kB / 0.8682 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5813, allocations: 3.984 kB / 0.8682 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5813, allocations: 7.984 kB / 0.8682 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5814, allocations: 3.938 kB / 0.8682 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.582, allocations: 349 kB / 0.8685 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.5825, allocations: 110.6 kB / 0.8686 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.013e-05/0.5826, allocations: 24.86 kB / 0.8687 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5826, allocations: 4.031 kB / 0.8687 GB, free: 13.91 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5826, allocations: 38.5 kB / 0.8687 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.5826, allocations: 0 / 0.8687 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7): time 0.0002176/0.5828, allocations: 65.77 kB / 0.8688 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.5829, allocations: 59.41 kB / 0.8688 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.583, allocations: 112.3 kB / 0.8689 GB, free: 13.61 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.583, allocations: 25.7 kB / 0.869 GB, free: 13.58 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.5831, allocations: 99.88 kB / 0.8691 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.5831, allocations: 23.64 kB / 0.8691 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5831, allocations: 2.438 kB / 0.8691 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5833, allocations: 318.8 kB / 0.8694 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.5833, allocations: 16 kB / 0.8694 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.5834, allocations: 33.72 kB / 0.8694 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.5834, allocations: 20.12 kB / 0.8694 GB, free: 13.06 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5834, allocations: 4 kB / 0.8695 GB, free: 13.05 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001432/0.5836, allocations: 77.53 kB / 0.8695 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5836, allocations: 4 kB / 0.8695 GB, free: 12.97 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5836, allocations: 4 kB / 0.8695 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5836, allocations: 0 / 0.8695 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.5838, allocations: 28.02 kB / 0.8696 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.5838, allocations: 3.938 kB / 0.8696 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.756e-05/0.5839, allocations: 15.89 kB / 0.8696 GB, free: 12.92 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5839, allocations: 4 kB / 0.8696 GB, free: 12.91 MB / 0.5419 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.805e-05/0.584, allocations: 104.9 kB / 0.8697 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.5841, allocations: 11.91 kB / 0.8697 GB, free: 12.79 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.5841, allocations: 8.375 kB / 0.8697 GB, free: 12.79 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5841, allocations: 4 kB / 0.8697 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5841, allocations: 0 / 0.8697 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5841, allocations: 0 / 0.8697 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.5843, allocations: 178 kB / 0.8699 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5843, allocations: 0 / 0.8699 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5845, allocations: 19.98 kB / 0.8699 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5845, allocations: 4 kB / 0.8699 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.5845, allocations: 0 / 0.8699 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5845, allocations: 0 / 0.8699 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5845, allocations: 4.828 kB / 0.8699 GB, free: 12.54 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001843/0.5847, allocations: 186.2 kB / 0.8701 GB, free: 12.35 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.5848, allocations: 77.11 kB / 0.8702 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.5848, allocations: 3.906 kB / 0.8702 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.585, allocations: 19.98 kB / 0.8702 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.585, allocations: 4 kB / 0.8702 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.585, allocations: 3.984 kB / 0.8702 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.863e-05/0.5851, allocations: 91.28 kB / 0.8703 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002423/0.5854, allocations: 16 kB / 0.8703 GB, free: 12.12 MB / 0.5419 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.0001297/0.5855, allocations: 104.1 kB / 0.8704 GB, free: 12.01 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.5857, allocations: 44 kB / 0.8704 GB, free: 11.96 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5857, allocations: 3.938 kB / 0.8704 GB, free: 11.96 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.163e-05/0.5857, allocations: 24 kB / 0.8705 GB, free: 11.94 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.586, allocations: 23.62 kB / 0.8705 GB, free: 11.92 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.5864, allocations: 127.5 kB / 0.8706 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.5868, allocations: 0.7114 MB / 0.8713 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of SimCode: time 1.843e-06/0.5868, allocations: 0 / 0.8713 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of Templates: time 0.00382/0.5906, allocations: 1.323 MB / 0.8726 GB, free: 9.766 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)