Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [: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.6979/0.6979, allocations: 141.8 MB / 149.1 MB, free: 3.98 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.001102/0.001103, allocations: 185.5 kB / 181.9 MB, free: 15.73 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.281/1.281, allocations: 221.3 MB / 436 MB, free: 8.875 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.0009817/0.0009817, allocations: 96.84 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001731, allocations: 274.9 kB / 0.5884 GB, free: 11.89 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1637/0.1655, allocations: 89.64 MB / 0.676 GB, free: 2.168 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.536, allocations: 82.75 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.6485, allocations: 109.3 MB / 0.8635 GB, free: 3.023 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.6488, allocations: 71.95 kB / 0.8636 GB, free: 2.957 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.00621/0.655, allocations: 2.041 MB / 0.8656 GB, free: 0.9141 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.655, allocations: 11.94 kB / 0.8656 GB, free: 0.9023 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.6554, allocations: 33.17 kB / 0.8656 GB, free: 0.8711 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.6556, allocations: 171 kB / 0.8658 GB, free: 0.6641 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.6556, allocations: 0 / 0.8658 GB, free: 0.6641 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.6556, allocations: 6.859 kB / 0.8658 GB, free: 0.6602 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.55e-05/0.6557, allocations: 19.94 kB / 0.8658 GB, free: 0.6406 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.6558, allocations: 54.53 kB / 0.8658 GB, free: 0.582 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6558, allocations: 0 / 0.8658 GB, free: 0.582 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6558, allocations: 1.125 kB / 0.8658 GB, free: 0.582 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6558, allocations: 0 / 0.8658 GB, free: 0.582 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.6563, allocations: 258 kB / 0.8661 GB, free: 300 kB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.407e-05/0.6564, allocations: 30.58 kB / 0.8661 GB, free: 260 kB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.6564, allocations: 16.92 kB / 0.8661 GB, free: 240 kB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6564, allocations: 3.984 kB / 0.8661 GB, free: 236 kB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.6564, allocations: 34.5 kB / 0.8662 GB, free: 192 kB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6565, allocations: 0 / 0.8662 GB, free: 192 kB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/0.6566, allocations: 61.59 kB / 0.8662 GB, free: 124 kB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.6567, allocations: 51.41 kB / 0.8663 GB, free: 60 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.6568, allocations: 93 kB / 0.8664 GB, free: 15.96 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.6568, allocations: 25.7 kB / 0.8664 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.6568, allocations: 84.12 kB / 0.8665 GB, free: 15.84 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.6568, allocations: 7.906 kB / 0.8665 GB, free: 15.83 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.6569, allocations: 0 / 0.8665 GB, free: 15.83 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.657, allocations: 310.8 kB / 0.8668 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.657, allocations: 12.03 kB / 0.8668 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.657, allocations: 9.219 kB / 0.8668 GB, free: 15.5 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.6571, allocations: 15.98 kB / 0.8668 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6571, allocations: 0 / 0.8668 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.6572, allocations: 57.53 kB / 0.8669 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6572, allocations: 8 kB / 0.8669 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6572, allocations: 0 / 0.8669 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6573, allocations: 0 / 0.8669 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.6574, allocations: 24.06 kB / 0.8669 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6574, allocations: 3.203 kB / 0.8669 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.6575, allocations: 15.92 kB / 0.8669 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.6576, allocations: 0 / 0.8669 GB, free: 15.38 MB / 0.5419 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 8.448e-05/0.6577, allocations: 105 kB / 0.867 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.6577, allocations: 7.906 kB / 0.867 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.6578, allocations: 8.438 kB / 0.867 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6578, allocations: 0 / 0.867 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6578, allocations: 0 / 0.867 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6578, allocations: 7.984 kB / 0.867 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.658, allocations: 150.1 kB / 0.8672 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.658, allocations: 0 / 0.8672 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.6581, allocations: 24.73 kB / 0.8672 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6581, allocations: 0 / 0.8672 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.6581, allocations: 0 / 0.8672 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6582, allocations: 0 / 0.8672 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6582, allocations: 0 / 0.8672 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001604/0.6583, allocations: 159.4 kB / 0.8674 GB, free: 14.87 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002642/0.6586, allocations: 0.5195 MB / 0.8679 GB, free: 14.33 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.6587, allocations: 81.02 kB / 0.8679 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.6587, allocations: 1.5 kB / 0.8679 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.6588, allocations: 16.05 kB / 0.868 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.6589, allocations: 0 / 0.868 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6589, allocations: 4 kB / 0.868 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.74e-05/0.6589, allocations: 87.44 kB / 0.8681 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008241/0.6598, allocations: 16 kB / 0.8681 GB, free: 14.11 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 (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 Backend phase and start with SimCode phase: time 0.0001858/0.66, allocations: 123.2 kB / 0.8682 GB, free: 13.98 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.6601, allocations: 23.98 kB / 0.8682 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6601, allocations: 0 / 0.8682 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.6601, allocations: 12 kB / 0.8682 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.6603, allocations: 3.906 kB / 0.8682 GB, free: 13.94 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.6607, allocations: 79.89 kB / 0.8683 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.661, allocations: 0.6973 MB / 0.869 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of SimCode: time 2.384e-06/0.661, allocations: 4 kB / 0.869 GB, free: 13.11 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)