Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.458/2.458, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002497/0.002497, allocations: 189.2 kB / 360.3 MB, free: 7.531 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.921/1.921, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001273/0.001273, allocations: 91.62 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2991/0.3004, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.9571, allocations: 115.2 MB / 0.9627 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/1.196, allocations: 137.5 MB / 1.097 GB, free: 3.367 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003945/1.196, allocations: 73.75 kB / 1.097 GB, free: 3.297 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.006371/1.203, allocations: 1.008 MB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.203, allocations: 8 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/1.203, allocations: 12.55 kB / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/1.203, allocations: 163.1 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.203, allocations: 2.688 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/1.203, allocations: 0.5 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.814e-05/1.203, allocations: 13.38 kB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/1.203, allocations: 37.69 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.204, allocations: 0.6875 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.204, allocations: 3.906 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/1.204, allocations: 2.766 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/1.204, allocations: 225.5 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/1.204, allocations: 23.36 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/1.204, allocations: 13.61 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/1.204, allocations: 4.594 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.204, allocations: 43.19 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/1.204, allocations: 1.969 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001941/1.204, allocations: 38.3 kB / 1.099 GB, free: 1.605 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/1.204, allocations: 52.16 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/1.205, allocations: 90.28 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/1.205, allocations: 25.7 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/1.205, allocations: 88.72 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/1.205, allocations: 8.844 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/1.205, allocations: 0 / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.205, allocations: 316.9 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/1.205, allocations: 0.5 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/1.205, allocations: 8.656 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/1.205, allocations: 4.5 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.205, allocations: 0.5312 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/1.205, allocations: 50.16 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.205, allocations: 8 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.205, allocations: 1 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.205, allocations: 0.5156 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.205, allocations: 13.23 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.205, allocations: 8.062 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/1.205, allocations: 8 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/1.205, allocations: 0 / 1.099 GB, free: 0.9023 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 8.054e-05/1.206, allocations: 108.7 kB / 1.099 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/1.206, allocations: 4 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/1.206, allocations: 60.03 kB / 1.099 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.206, allocations: 3.938 kB / 1.099 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.206, allocations: 4.812 kB / 1.099 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.206, allocations: 0 / 1.099 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/1.206, allocations: 138.1 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.206, allocations: 0 / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/1.206, allocations: 11.98 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.206, allocations: 8.516 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/1.206, allocations: 1.75 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.206, allocations: 0 / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.206, allocations: 0 / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001559/1.206, allocations: 140.2 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000351/1.207, allocations: 0.518 MB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/1.207, allocations: 81.11 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/1.207, allocations: 3.984 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/1.207, allocations: 4 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/1.207, allocations: 8.5 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.207, allocations: 0 / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.151e-05/1.207, allocations: 83.94 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001094/1.208, allocations: 11.91 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.000151/1.208, allocations: 95.25 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000123/1.209, allocations: 12 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.209, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/1.209, allocations: 11.94 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/1.209, allocations: 12.86 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/1.209, allocations: 60.8 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/1.21, allocations: 0.6919 MB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of SimCode: time 3.106e-06/1.21, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)