Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.0/package.mo): time 2.51/2.51, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001651/0.001651, allocations: 177.3 kB / 360.3 MB, free: 7.52 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.844/1.844, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001309/0.001308, allocations: 93.06 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.263/0.2644, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.9295, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/1.172, allocations: 138.3 MB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.173, allocations: 84.55 kB / 1.098 GB, free: 2.508 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01518/1.188, allocations: 2.88 MB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.188, allocations: 8.5 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006241/1.188, allocations: 35.84 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.189, allocations: 163.1 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1.189, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/1.189, allocations: 7.938 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001352/1.189, allocations: 19.98 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/1.189, allocations: 45.67 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.189, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/1.189, allocations: 3.906 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.189, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/1.189, allocations: 142 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/1.19, allocations: 45.67 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/1.19, allocations: 24.86 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/1.19, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.19, allocations: 40.19 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/1.19, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.003013/1.193, allocations: 430.1 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.193, allocations: 51.41 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/1.193, allocations: 85 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.193, allocations: 29.7 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/1.193, allocations: 84.08 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/1.193, allocations: 15.75 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/1.193, allocations: 1.875 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.193, allocations: 326.9 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/1.193, allocations: 27.98 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/1.193, allocations: 24 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/1.194, allocations: 27.97 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.194, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003616/1.194, allocations: 97.66 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.194, allocations: 7.984 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.194, allocations: 0 / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.194, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/1.195, allocations: 27.88 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.195, allocations: 0 / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/1.195, allocations: 4 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/1.195, allocations: 7.984 kB / 1.102 GB, free: 13.73 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 0.0001121/1.195, allocations: 108.7 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/1.195, allocations: 7.906 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/1.195, allocations: 16.89 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.195, allocations: 8.656 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.195, allocations: 6.234 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.195, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/1.196, allocations: 163.4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.196, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/1.196, allocations: 27.97 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.196, allocations: 3.938 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/1.196, allocations: 11.73 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.196, allocations: 3.906 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.196, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000593/1.197, allocations: 165 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007643/1.197, allocations: 0.562 MB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/1.198, allocations: 89 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/1.198, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/1.198, allocations: 12.12 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/1.198, allocations: 3.984 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/1.198, allocations: 7.984 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.474e-05/1.198, allocations: 75.28 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001185/1.199, allocations: 36 kB / 1.104 GB, free: 12.34 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.0003701/1.2, allocations: 140.3 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002993/1.2, allocations: 67.97 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.2, allocations: 0 / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/1.2, allocations: 31.98 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/1.2, allocations: 18 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/1.201, allocations: 124.9 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/1.202, allocations: 0.7075 MB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/1.202, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)