Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001197/0.001197, allocations: 177.3 kB / 366.3 MB, free: 2.008 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.565/1.565, allocations: 205.1 MB / 0.6256 GB, free: 7.453 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.0009176/0.0009175, allocations: 85.81 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2775/0.2784, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6913/0.9698, allocations: 116.3 MB / 0.9726 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/1.173, allocations: 138.6 MB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.174, allocations: 74.11 kB / 1.108 GB, free: 11.79 MB / 0.7136 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.003573/1.177, allocations: 1.004 MB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.177, allocations: 8 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/1.177, allocations: 12.52 kB / 1.109 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/1.177, allocations: 159.1 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/1.178, allocations: 0.75 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/1.178, allocations: 7.984 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.626e-05/1.178, allocations: 14.44 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.636e-05/1.178, allocations: 34.41 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/1.178, allocations: 0 / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.178, allocations: 4.625 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.178, allocations: 4 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/1.178, allocations: 222.7 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/1.178, allocations: 23.36 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/1.178, allocations: 13.64 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/1.178, allocations: 8.438 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/1.178, allocations: 31.47 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/1.178, allocations: 4.297 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001692/1.179, allocations: 37.7 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/1.179, allocations: 55.91 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/1.179, allocations: 93.53 kB / 1.11 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/1.179, allocations: 26.3 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/1.179, allocations: 88.94 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/1.179, allocations: 3.906 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/1.179, allocations: 0.8438 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.179, allocations: 314.8 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/1.179, allocations: 5.062 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/1.179, allocations: 8 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.952e-05/1.179, allocations: 4.781 kB / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.179, allocations: 4.094 kB / 1.11 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.485e-05/1.179, allocations: 49.53 kB / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.179, allocations: 4 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.179, allocations: 1.125 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.179, allocations: 0 / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/1.179, allocations: 15.98 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.179, allocations: 1.484 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/1.179, allocations: 15.97 kB / 1.11 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/1.179, allocations: 0 / 1.11 GB, free: 9.375 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 (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.522e-05/1.179, allocations: 108.9 kB / 1.11 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/1.179, allocations: 0 / 1.11 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/1.18, allocations: 52.94 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.18, allocations: 4 kB / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.18, allocations: 1.375 kB / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.18, allocations: 0 / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/1.18, allocations: 139.3 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.18, allocations: 4 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/1.18, allocations: 11.98 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.18, allocations: 0 / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/1.18, allocations: 0 / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.18, allocations: 8 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.18, allocations: 0 / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001427/1.18, allocations: 145.2 kB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002749/1.18, allocations: 0.518 MB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/1.18, allocations: 81.09 kB / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/1.181, allocations: 8 kB / 1.111 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/1.181, allocations: 4 kB / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/1.181, allocations: 8.922 kB / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/1.181, allocations: 0 / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.983e-05/1.181, allocations: 79.28 kB / 1.111 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008354/1.182, allocations: 7.906 kB / 1.111 GB, free: 8.105 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.0001358/1.182, allocations: 99.25 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.256e-05/1.182, allocations: 12 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.182, allocations: 0 / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/1.182, allocations: 19.92 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/1.182, allocations: 1.125 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/1.182, allocations: 59.92 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/1.183, allocations: 0.6919 MB / 1.112 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/1.183, allocations: 4 kB / 1.112 GB, free: 7.164 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)