Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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.7269/0.7269, allocations: 141.8 MB / 149.1 MB, free: 3.707 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.001074/0.001074, allocations: 188.5 kB / 181.9 MB, free: 15.46 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.3 MB / 436 MB, free: 8.602 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.001004/0.001004, allocations: 90.8 kB / 0.507 GB, free: 24.29 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 281 kB / 0.5884 GB, free: 11.68 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.031e-06, allocations: 0 / 0.6759 GB, free: 2.051 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4784, allocations: 82.77 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.6048, allocations: 108.3 MB / 0.8625 GB, free: 3.883 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.6051, allocations: 77.8 kB / 0.8625 GB, free: 3.809 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.00266/0.6077, allocations: 0.6803 MB / 0.8632 GB, free: 3.148 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.6078, allocations: 8 kB / 0.8632 GB, free: 3.141 MB / 0.5263 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.0002911/0.6081, allocations: 337.8 kB / 0.8635 GB, free: 2.77 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6081, allocations: 12.03 kB / 0.8636 GB, free: 2.758 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.6082, allocations: 0.5625 kB / 0.8636 GB, free: 2.758 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.6083, allocations: 171.5 kB / 0.8637 GB, free: 2.551 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6083, allocations: 0 / 0.8637 GB, free: 2.551 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.6084, allocations: 0.875 kB / 0.8637 GB, free: 2.551 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.422e-05/0.6084, allocations: 12 kB / 0.8637 GB, free: 2.539 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.138e-05/0.6085, allocations: 42.25 kB / 0.8638 GB, free: 2.492 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6085, allocations: 0.5 kB / 0.8638 GB, free: 2.492 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.6086, allocations: 0 / 0.8638 GB, free: 2.492 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6086, allocations: 0.5625 kB / 0.8638 GB, free: 2.492 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.6089, allocations: 226.8 kB / 0.864 GB, free: 2.234 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.001e-05/0.609, allocations: 23.48 kB / 0.864 GB, free: 2.203 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.609, allocations: 13.52 kB / 0.864 GB, free: 2.188 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.609, allocations: 0.7188 kB / 0.864 GB, free: 2.188 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.6091, allocations: 35.31 kB / 0.8641 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6091, allocations: 0 / 0.8641 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001679/0.6092, allocations: 51.25 kB / 0.8641 GB, free: 2.09 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.6093, allocations: 51.41 kB / 0.8642 GB, free: 2.027 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.6093, allocations: 92.98 kB / 0.8642 GB, free: 1.93 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.6094, allocations: 26.3 kB / 0.8643 GB, free: 1.898 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.6094, allocations: 88.73 kB / 0.8644 GB, free: 1.809 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.6094, allocations: 7.906 kB / 0.8644 GB, free: 1.801 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.6094, allocations: 0.5625 kB / 0.8644 GB, free: 1.801 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.6095, allocations: 315.5 kB / 0.8647 GB, free: 1.484 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.6095, allocations: 8.781 kB / 0.8647 GB, free: 1.477 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.6095, allocations: 0 / 0.8647 GB, free: 1.477 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.015e-05/0.6096, allocations: 5.625 kB / 0.8647 GB, free: 1.473 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6096, allocations: 0 / 0.8647 GB, free: 1.473 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.132e-05/0.6096, allocations: 46.2 kB / 0.8647 GB, free: 1.422 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6097, allocations: 17.58 kB / 0.8647 GB, free: 1.406 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6097, allocations: 0 / 0.8647 GB, free: 1.406 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6097, allocations: 0 / 0.8647 GB, free: 1.406 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.6098, allocations: 9.875 kB / 0.8647 GB, free: 1.398 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6098, allocations: 0 / 0.8647 GB, free: 1.398 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.6099, allocations: 17.3 kB / 0.8648 GB, free: 1.383 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.6099, allocations: 0.5312 kB / 0.8648 GB, free: 1.383 MB / 0.5263 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 (2): * Single equations (assignments): 2 * 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 5.357e-05/0.61, allocations: 102.2 kB / 0.8649 GB, free: 1.277 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.61, allocations: 7.906 kB / 0.8649 GB, free: 1.27 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.6101, allocations: 54.17 kB / 0.8649 GB, free: 1.215 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6101, allocations: 5.656 kB / 0.8649 GB, free: 1.211 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6101, allocations: 0 / 0.8649 GB, free: 1.211 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6102, allocations: 0.9062 kB / 0.8649 GB, free: 1.211 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.6103, allocations: 138.1 kB / 0.8651 GB, free: 1.039 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6103, allocations: 1.188 kB / 0.8651 GB, free: 1.039 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.6104, allocations: 20.89 kB / 0.8651 GB, free: 1.02 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6104, allocations: 0 / 0.8651 GB, free: 1.02 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.6104, allocations: 1.094 kB / 0.8651 GB, free: 1.02 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6104, allocations: 0 / 0.8651 GB, free: 1.02 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6104, allocations: 0.75 kB / 0.8651 GB, free: 1.02 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.364e-05/0.6105, allocations: 144.1 kB / 0.8652 GB, free: 0.8633 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.6105, allocations: 77.11 kB / 0.8653 GB, free: 0.7695 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.6105, allocations: 4 kB / 0.8653 GB, free: 0.7656 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.6106, allocations: 7.984 kB / 0.8653 GB, free: 0.7578 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.6107, allocations: 8 kB / 0.8653 GB, free: 0.75 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.6107, allocations: 0 / 0.8653 GB, free: 0.75 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.964e-05/0.6107, allocations: 83.27 kB / 0.8654 GB, free: 0.668 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002021/0.6109, allocations: 13.78 kB / 0.8654 GB, free: 0.6562 MB / 0.5263 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 9.695e-05/0.611, allocations: 95.25 kB / 0.8655 GB, free: 0.5547 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 7.313e-05/0.6111, allocations: 15.94 kB / 0.8655 GB, free: 0.5391 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6111, allocations: 0 / 0.8655 GB, free: 0.5391 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.6111, allocations: 12 kB / 0.8655 GB, free: 0.5273 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.6113, allocations: 0.5469 kB / 0.8655 GB, free: 0.5273 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.6115, allocations: 71.91 kB / 0.8656 GB, free: 444 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.6118, allocations: 0.688 MB / 0.8663 GB, free: 15.71 MB / 0.5419 GB Notification: Performance of SimCode: time 2.31e-07/0.6118, allocations: 0 / 0.8663 GB, free: 15.71 MB / 0.5419 GB Notification: Performance of Templates: time 0.002802/0.6146, allocations: 456.2 kB / 0.8667 GB, free: 15.3 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)