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.WaterVaporPressureDerivativeCheck.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.396/1.396, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001001/0.001001, allocations: 181.2 kB / 361.1 MB, free: 7.109 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.249/1.249, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008124/0.0008123, allocations: 84.97 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.203/0.2039, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.7081, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.8519, allocations: 137.4 MB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.8521, allocations: 80.73 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.005646/0.8578, allocations: 1.834 MB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.8579, allocations: 12.25 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.858, allocations: 17.86 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.946e-05/0.8581, allocations: 166.4 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.8582, allocations: 0 / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.8582, allocations: 4 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.781e-05/0.8583, allocations: 18.31 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.233e-05/0.8584, allocations: 39 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.8584, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.8584, allocations: 0.5156 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8584, allocations: 1.688 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.8586, allocations: 142.1 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.8587, allocations: 39.14 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.8588, allocations: 18.28 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.8588, allocations: 1.188 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.8588, allocations: 42.5 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.8588, allocations: 0.5938 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002021/0.8609, allocations: 471.2 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.8609, allocations: 52 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.133e-05/0.861, allocations: 89 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.861, allocations: 27.67 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.861, allocations: 88.08 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.8611, allocations: 15.66 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.8611, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8612, allocations: 327.2 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.8612, allocations: 20.59 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.8613, allocations: 17.53 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.8613, allocations: 20 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.8613, allocations: 0 / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000144/0.8615, allocations: 91.2 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8615, allocations: 4.594 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8615, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.8615, allocations: 0.625 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.8617, allocations: 16.8 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8617, allocations: 1.406 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.8618, allocations: 5.969 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.8618, allocations: 4 kB / 1.102 GB, free: 14.75 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 (9): * Single equations (assignments): 9 * 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 7.142e-05/0.8619, allocations: 101.8 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.8619, allocations: 8.672 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.862, allocations: 15.91 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.862, allocations: 3.906 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.862, allocations: 6.094 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.862, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.8621, allocations: 147.8 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.8622, allocations: 4.547 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.8623, allocations: 15.94 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8623, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.8623, allocations: 4 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8623, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8623, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002362/0.8626, allocations: 145 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004218/0.863, allocations: 0.5287 MB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.8631, allocations: 85 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.8631, allocations: 5.812 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.8632, allocations: 4.781 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.8632, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.8633, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.699e-05/0.8633, allocations: 79.27 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008007/0.8641, allocations: 12 kB / 1.103 GB, free: 13.5 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 (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 Backend phase and start with SimCode phase: time 0.0001262/0.8642, allocations: 111 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.8644, allocations: 57.25 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.8644, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.8644, allocations: 34.5 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.8646, allocations: 3.906 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.8651, allocations: 129.2 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.8654, allocations: 0.7032 MB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8654, allocations: 0 / 1.104 GB, free: 12.42 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)