Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009688/0.000969, allocations: 173.3 kB / 361.1 MB, free: 7.098 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.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007363/0.0007363, allocations: 90.72 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.422e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4304, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.5709, allocations: 138.4 MB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.5712, allocations: 84.92 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008552/0.5798, allocations: 2.523 MB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5798, allocations: 0 / 1.101 GB, free: 15.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002976/0.5801, allocations: 350.3 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5802, allocations: 12.52 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.5805, allocations: 31.86 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.5807, allocations: 167.1 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5807, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.5807, allocations: 0.5156 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.985e-05/0.5808, allocations: 21.61 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.5809, allocations: 49.61 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5809, allocations: 1.219 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.5809, allocations: 3.906 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5809, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.5811, allocations: 158.1 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.5813, allocations: 33.7 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.5813, allocations: 17.61 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.5813, allocations: 4 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.5814, allocations: 34.66 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.5814, allocations: 0.6562 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001757/0.5831, allocations: 430.7 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.5832, allocations: 51.41 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.5832, allocations: 85 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5833, allocations: 25.7 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.5833, allocations: 92.02 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.5833, allocations: 19.73 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.5833, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.5834, allocations: 318.8 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.395e-05/0.5835, allocations: 27.98 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.5836, allocations: 27.98 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.06e-05/0.5836, allocations: 27.97 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.5836, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001941/0.5838, allocations: 105.6 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5838, allocations: 4 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5839, allocations: 4 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5839, allocations: 0 / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.5841, allocations: 30.06 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.5841, allocations: 0 / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.5843, allocations: 7.984 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5843, allocations: 4 kB / 1.103 GB, free: 12.77 MB / 0.7136 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 (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 prepare postOptimizeDAE: time 9.1e-05/0.5844, allocations: 104.8 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.5845, allocations: 15.91 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.156e-05/0.5846, allocations: 14.69 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5846, allocations: 4 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5846, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5846, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.5847, allocations: 161 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5847, allocations: 3.938 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.585, allocations: 27.91 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.585, allocations: 0.5156 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.585, allocations: 11.98 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.585, allocations: 3.906 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.585, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002935/0.5853, allocations: 158.4 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.5854, allocations: 81.95 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.5854, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.5856, allocations: 12.05 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.5857, allocations: 4.656 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.5857, allocations: 3.984 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.743e-05/0.5857, allocations: 79.28 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00025/0.586, allocations: 32 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000215/0.5862, allocations: 143.1 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.5864, allocations: 76.12 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5864, allocations: 0 / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.5865, allocations: 43.97 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.5866, allocations: 7.906 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.5872, allocations: 117 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.5875, allocations: 0.7043 MB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.5875, allocations: 4 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.004125/0.5917, allocations: 2.11 MB / 1.107 GB, free: 8.785 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)