Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 249.4 MB / 256.7 MB, free: 0.6953 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 184.1 kB / 316 MB, free: 8.91 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.1 MB / 0.5667 GB, free: 13.37 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007979/0.000798, allocations: 96.39 kB / 0.671 GB, free: 51.47 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1972/0.198, allocations: 112.5 MB / 0.7808 GB, free: 9.781 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6187/0.8167, allocations: 106.3 MB / 0.8847 GB, free: 5.672 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.9946, allocations: 132.1 MB / 1.014 GB, free: 15.9 MB / 0.7527 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.9949, allocations: 91.86 kB / 1.014 GB, free: 15.82 MB / 0.7527 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.009064/1.004, allocations: 2.867 MB / 1.017 GB, free: 12.92 MB / 0.7527 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.004, allocations: 8 kB / 1.017 GB, free: 12.91 MB / 0.7527 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/1.004, allocations: 35.94 kB / 1.017 GB, free: 12.88 MB / 0.7527 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/1.005, allocations: 159.1 kB / 1.017 GB, free: 12.68 MB / 0.7527 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.005, allocations: 4 kB / 1.017 GB, free: 12.68 MB / 0.7527 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/1.005, allocations: 3.906 kB / 1.017 GB, free: 12.68 MB / 0.7527 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.684e-05/1.005, allocations: 23.98 kB / 1.017 GB, free: 12.65 MB / 0.7527 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.381e-05/1.005, allocations: 45.67 kB / 1.017 GB, free: 12.6 MB / 0.7527 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/1.005, allocations: 0 / 1.017 GB, free: 12.6 MB / 0.7527 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.005, allocations: 0 / 1.017 GB, free: 12.6 MB / 0.7527 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/1.005, allocations: 0 / 1.017 GB, free: 12.6 MB / 0.7527 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/1.005, allocations: 150.1 kB / 1.017 GB, free: 12.42 MB / 0.7527 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/1.005, allocations: 53.53 kB / 1.017 GB, free: 12.36 MB / 0.7527 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/1.005, allocations: 16.86 kB / 1.017 GB, free: 12.34 MB / 0.7527 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/1.005, allocations: 0 / 1.017 GB, free: 12.34 MB / 0.7527 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/1.005, allocations: 34.56 kB / 1.017 GB, free: 12.3 MB / 0.7527 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/1.005, allocations: 0 / 1.017 GB, free: 12.3 MB / 0.7527 GB Notification: Performance of matching and sorting (n=6): time 0.001771/1.007, allocations: 426.2 kB / 1.017 GB, free: 11.83 MB / 0.7527 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/1.007, allocations: 55.41 kB / 1.018 GB, free: 11.76 MB / 0.7527 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/1.007, allocations: 89 kB / 1.018 GB, free: 11.67 MB / 0.7527 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.007, allocations: 29.83 kB / 1.018 GB, free: 11.63 MB / 0.7527 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/1.007, allocations: 80.14 kB / 1.018 GB, free: 11.55 MB / 0.7527 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/1.007, allocations: 23.66 kB / 1.018 GB, free: 11.53 MB / 0.7527 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/1.007, allocations: 0 / 1.018 GB, free: 11.53 MB / 0.7527 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.008, allocations: 314.8 kB / 1.018 GB, free: 11.21 MB / 0.7527 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/1.008, allocations: 27.98 kB / 1.018 GB, free: 11.18 MB / 0.7527 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/1.008, allocations: 28 kB / 1.018 GB, free: 11.16 MB / 0.7527 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.371e-05/1.008, allocations: 27.97 kB / 1.018 GB, free: 11.13 MB / 0.7527 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.008, allocations: 0 / 1.018 GB, free: 11.13 MB / 0.7527 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002103/1.008, allocations: 117.4 kB / 1.018 GB, free: 11.01 MB / 0.7527 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.008, allocations: 4 kB / 1.018 GB, free: 11 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.008, allocations: 0 / 1.018 GB, free: 11 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.008, allocations: 0 / 1.018 GB, free: 11 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/1.008, allocations: 23.97 kB / 1.018 GB, free: 10.98 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.008, allocations: 0 / 1.018 GB, free: 10.98 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/1.008, allocations: 4 kB / 1.018 GB, free: 10.98 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.008, allocations: 11.92 kB / 1.018 GB, free: 10.96 MB / 0.7527 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.618e-05/1.009, allocations: 105 kB / 1.018 GB, free: 10.86 MB / 0.7527 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/1.009, allocations: 7.906 kB / 1.018 GB, free: 10.85 MB / 0.7527 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/1.009, allocations: 16.05 kB / 1.018 GB, free: 10.83 MB / 0.7527 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.009, allocations: 0 / 1.018 GB, free: 10.83 MB / 0.7527 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.009, allocations: 0 / 1.018 GB, free: 10.83 MB / 0.7527 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.009, allocations: 4 kB / 1.018 GB, free: 10.82 MB / 0.7527 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/1.009, allocations: 176.7 kB / 1.019 GB, free: 10.62 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.009, allocations: 0 / 1.019 GB, free: 10.62 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/1.009, allocations: 23.97 kB / 1.019 GB, free: 10.59 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.009, allocations: 7.938 kB / 1.019 GB, free: 10.59 MB / 0.7527 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/1.009, allocations: 3.984 kB / 1.019 GB, free: 10.58 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.009, allocations: 4 kB / 1.019 GB, free: 10.58 MB / 0.7527 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.009, allocations: 0 / 1.019 GB, free: 10.58 MB / 0.7527 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003098/1.01, allocations: 165 kB / 1.019 GB, free: 10.4 MB / 0.7527 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004721/1.01, allocations: 0.5679 MB / 1.019 GB, free: 9.809 MB / 0.7527 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/1.01, allocations: 77.11 kB / 1.019 GB, free: 9.715 MB / 0.7527 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.01, allocations: 4 kB / 1.019 GB, free: 9.711 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/1.01, allocations: 11.92 kB / 1.019 GB, free: 9.699 MB / 0.7527 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/1.01, allocations: 11.97 kB / 1.019 GB, free: 9.688 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/1.01, allocations: 3.984 kB / 1.019 GB, free: 9.684 MB / 0.7527 GB Notification: Performance of sort global known variables: time 3.313e-05/1.01, allocations: 79.34 kB / 1.02 GB, free: 9.605 MB / 0.7527 GB Notification: Performance of remove unused functions: time 0.0008117/1.011, allocations: 36.09 kB / 1.02 GB, free: 9.57 MB / 0.7527 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.0002465/1.011, allocations: 134 kB / 1.02 GB, free: 9.434 MB / 0.7527 GB Notification: Performance of simCode: created initialization part: time 0.0001714/1.012, allocations: 71.97 kB / 1.02 GB, free: 9.363 MB / 0.7527 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.012, allocations: 0 / 1.02 GB, free: 9.363 MB / 0.7527 GB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/1.012, allocations: 35.92 kB / 1.02 GB, free: 9.328 MB / 0.7527 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/1.012, allocations: 20.17 kB / 1.02 GB, free: 9.309 MB / 0.7527 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/1.013, allocations: 123.8 kB / 1.02 GB, free: 9.164 MB / 0.7527 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/1.013, allocations: 0.7113 MB / 1.021 GB, free: 8.426 MB / 0.7527 GB Notification: Performance of SimCode: time 2.31e-07/1.013, allocations: 0 / 1.021 GB, free: 8.426 MB / 0.7527 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)