Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_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.7185/0.7185, allocations: 141.8 MB / 149.1 MB, free: 4.469 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.0009688/0.0009691, allocations: 177.2 kB / 181.9 MB, free: 128 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.186/1.186, allocations: 221.3 MB / 436 MB, free: 9.273 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.000893/0.0008928, allocations: 96.09 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 277.7 kB / 0.5884 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1604/0.1622, allocations: 89.66 MB / 0.676 GB, free: 2.574 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.4816, allocations: 82.76 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.5889, allocations: 108.8 MB / 0.8631 GB, free: 3.867 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5892, allocations: 80.97 kB / 0.8632 GB, free: 3.793 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00522/0.5944, allocations: 1.848 MB / 0.865 GB, free: 1.938 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5945, allocations: 9.312 kB / 0.865 GB, free: 1.93 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.5948, allocations: 28.67 kB / 0.865 GB, free: 1.902 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.5949, allocations: 167 kB / 0.8652 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.595, allocations: 1.406 kB / 0.8652 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.595, allocations: 0 / 0.8652 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.463e-05/0.5951, allocations: 15.98 kB / 0.8652 GB, free: 1.684 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.737e-05/0.5951, allocations: 43.23 kB / 0.8652 GB, free: 1.637 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5952, allocations: 0 / 0.8652 GB, free: 1.637 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5952, allocations: 0 / 0.8652 GB, free: 1.637 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5952, allocations: 0 / 0.8652 GB, free: 1.637 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.5953, allocations: 134.7 kB / 0.8654 GB, free: 1.469 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.5954, allocations: 44.09 kB / 0.8654 GB, free: 1.418 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.5954, allocations: 12.92 kB / 0.8654 GB, free: 1.402 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.5954, allocations: 0 / 0.8654 GB, free: 1.402 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.5955, allocations: 34.56 kB / 0.8655 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.5955, allocations: 0 / 0.8655 GB, free: 1.359 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.5956, allocations: 45.69 kB / 0.8655 GB, free: 1.309 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.5956, allocations: 58.58 kB / 0.8656 GB, free: 1.242 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.282e-05/0.5957, allocations: 89 kB / 0.8656 GB, free: 1.148 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.5957, allocations: 29.73 kB / 0.8657 GB, free: 1.113 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.42e-05/0.5957, allocations: 80.14 kB / 0.8657 GB, free: 1.031 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.5958, allocations: 7.844 kB / 0.8658 GB, free: 1.023 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.5958, allocations: 4 kB / 0.8658 GB, free: 1.02 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.5958, allocations: 314.8 kB / 0.8661 GB, free: 0.7031 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.5958, allocations: 7.984 kB / 0.8661 GB, free: 0.6953 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.5959, allocations: 11.94 kB / 0.8661 GB, free: 0.6836 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.5959, allocations: 4 kB / 0.8661 GB, free: 0.6797 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5959, allocations: 64 / 0.8661 GB, free: 0.6797 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.93e-05/0.596, allocations: 57.58 kB / 0.8661 GB, free: 0.6172 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.596, allocations: 4 kB / 0.8661 GB, free: 0.6133 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.596, allocations: 3.938 kB / 0.8661 GB, free: 0.6094 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.596, allocations: 4 kB / 0.8661 GB, free: 0.6055 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5961, allocations: 7.984 kB / 0.8662 GB, free: 0.5977 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5961, allocations: 0 / 0.8662 GB, free: 0.5977 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.5962, allocations: 0 / 0.8662 GB, free: 0.5977 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.5962, allocations: 4 kB / 0.8662 GB, free: 0.5938 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 4.967e-05/0.5963, allocations: 112.9 kB / 0.8663 GB, free: 488 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.5963, allocations: 0 / 0.8663 GB, free: 488 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.5963, allocations: 15.3 kB / 0.8663 GB, free: 476 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5964, allocations: 0 / 0.8663 GB, free: 476 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5964, allocations: 0 / 0.8663 GB, free: 476 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5964, allocations: 0 / 0.8663 GB, free: 476 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.665e-05/0.5964, allocations: 146.1 kB / 0.8664 GB, free: 292 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5964, allocations: 0 / 0.8664 GB, free: 292 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.5965, allocations: 11.92 kB / 0.8664 GB, free: 280 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5965, allocations: 1.781 kB / 0.8664 GB, free: 280 kB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5966, allocations: 4 kB / 0.8664 GB, free: 276 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.5966, allocations: 0 / 0.8664 GB, free: 276 kB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5966, allocations: 0 / 0.8664 GB, free: 276 kB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.36e-05/0.5967, allocations: 73.2 kB / 0.8665 GB, free: 184 kB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002269/0.5969, allocations: 453.6 kB / 0.8669 GB, free: 15.71 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.597, allocations: 92.98 kB / 0.867 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.597, allocations: 0 / 0.867 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.5971, allocations: 11.92 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-06/0.5971, allocations: 0 / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.5971, allocations: 4.031 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.935e-05/0.5971, allocations: 79.28 kB / 0.8671 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007632/0.5979, allocations: 12 kB / 0.8671 GB, free: 15.5 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.0001834/0.5981, allocations: 123.2 kB / 0.8672 GB, free: 15.37 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.5982, allocations: 15.98 kB / 0.8673 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5982, allocations: 0 / 0.8673 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.5982, allocations: 15.98 kB / 0.8673 GB, free: 15.34 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.5984, allocations: 12.59 kB / 0.8673 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.5987, allocations: 67.92 kB / 0.8674 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.5989, allocations: 0.6919 MB / 0.868 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.5989, allocations: 0 / 0.868 GB, free: 14.52 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)