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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.405/1.405, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009898/0.0009897, allocations: 177.3 kB / 361.1 MB, free: 7.062 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.14/1.14, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008803/0.0008805, allocations: 89.23 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2261/0.227, allocations: 121.5 MB / 0.8512 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.734, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.8837, allocations: 138.4 MB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.884, allocations: 85.72 kB / 1.099 GB, free: 1.461 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.008784/0.8928, allocations: 2.877 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.8928, allocations: 8.5 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.8932, allocations: 35.86 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.8934, allocations: 163 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.8934, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.8934, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.271e-05/0.8935, allocations: 19.98 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.8936, allocations: 45.67 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.8936, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.8936, allocations: 3.906 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8936, allocations: 4 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.8938, allocations: 154.1 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.894, allocations: 37.69 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.894, allocations: 20.61 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.894, allocations: 11.94 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.8941, allocations: 34.64 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.8941, allocations: 4 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001749/0.8958, allocations: 414.1 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.8959, allocations: 55.41 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.8959, allocations: 92.94 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.896, allocations: 25.7 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.896, allocations: 80.14 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.896, allocations: 23.73 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.896, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.8961, allocations: 314.8 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.8962, allocations: 31.98 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.8962, allocations: 24 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/0.8963, allocations: 29.14 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.8963, allocations: 4.125 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002061/0.8965, allocations: 107.2 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8966, allocations: 4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8966, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.8966, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.8968, allocations: 27.88 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8969, allocations: 3.938 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.897, allocations: 7.984 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.8971, allocations: 8 kB / 1.104 GB, free: 12.67 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 7.856e-05/0.8971, allocations: 105 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.8972, allocations: 11.91 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.903e-05/0.8973, allocations: 8.062 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8973, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8973, allocations: 4.188 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8973, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.8975, allocations: 167.6 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8975, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.8977, allocations: 29.47 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8977, allocations: 3.938 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.8978, allocations: 3.984 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.8978, allocations: 7.906 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8978, allocations: 0 / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003096/0.8981, allocations: 164.9 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004642/0.8986, allocations: 0.5694 MB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.8986, allocations: 81.02 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.8987, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.8989, allocations: 7.984 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.8989, allocations: 4 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.8989, allocations: 3.984 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.849e-05/0.8989, allocations: 83.34 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008124/0.8998, allocations: 36 kB / 1.105 GB, free: 11.3 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.0002407/0.9, allocations: 138.9 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.9002, allocations: 67.97 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9002, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.9003, allocations: 37.78 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.9005, allocations: 16 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.9011, allocations: 120.9 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.9015, allocations: 0.7122 MB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9015, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)