Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7329/0.7329, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 181.2 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.1 MB / 399.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009372/0.0009373, allocations: 83.34 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3283/0.3293, allocations: 82.88 MB / 0.5461 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.5033, allocations: 76.76 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/1.007, allocations: 102.2 MB / 0.7208 GB, free: 10.13 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.008, allocations: 79.94 kB / 0.7209 GB, free: 10.05 MB / 490.7 MB 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.00321/1.011, allocations: 1.016 MB / 0.7219 GB, free: 8.996 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.011, allocations: 8 kB / 0.7219 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/1.011, allocations: 7.984 kB / 0.7219 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.011, allocations: 166.9 kB / 0.7221 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.011, allocations: 0 / 0.7221 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/1.011, allocations: 4 kB / 0.7221 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.948e-05/1.011, allocations: 12 kB / 0.7221 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/1.011, allocations: 33.69 kB / 0.7221 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.012, allocations: 3.984 kB / 0.7221 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.012, allocations: 0 / 0.7221 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/1.012, allocations: 0 / 0.7221 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/1.012, allocations: 226.1 kB / 0.7224 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/1.012, allocations: 38.55 kB / 0.7224 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/1.012, allocations: 8.922 kB / 0.7224 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/1.012, allocations: 0 / 0.7224 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/1.012, allocations: 30.56 kB / 0.7224 GB, free: 8.363 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/1.012, allocations: 0 / 0.7224 GB, free: 8.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001521/1.012, allocations: 41.61 kB / 0.7225 GB, free: 8.316 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/1.012, allocations: 52.53 kB / 0.7225 GB, free: 8.254 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.012, allocations: 101 kB / 0.7226 GB, free: 8.148 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/1.012, allocations: 26.36 kB / 0.7226 GB, free: 8.117 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/1.012, allocations: 88.08 kB / 0.7227 GB, free: 8.027 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/1.012, allocations: 3.906 kB / 0.7227 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.012, allocations: 0 / 0.7227 GB, free: 8.023 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/1.013, allocations: 314.8 kB / 0.723 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/1.013, allocations: 4 kB / 0.723 GB, free: 7.703 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/1.013, allocations: 14.02 kB / 0.723 GB, free: 7.691 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.591e-05/1.013, allocations: 4.062 kB / 0.7231 GB, free: 7.688 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.013, allocations: 0 / 0.7231 GB, free: 7.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.283e-05/1.013, allocations: 45.69 kB / 0.7231 GB, free: 7.637 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.013, allocations: 11.84 kB / 0.7231 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.013, allocations: 0 / 0.7231 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.013, allocations: 0 / 0.7231 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.013, allocations: 14.17 kB / 0.7231 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.013, allocations: 8.031 kB / 0.7231 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/1.013, allocations: 4 kB / 0.7231 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/1.013, allocations: 0 / 0.7231 GB, free: 7.602 MB / 490.7 MB 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 9.176e-05/1.013, allocations: 109 kB / 0.7232 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/1.013, allocations: 3.906 kB / 0.7232 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/1.013, allocations: 56.94 kB / 0.7233 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.013, allocations: 0 / 0.7233 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.013, allocations: 0 / 0.7233 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.013, allocations: 0 / 0.7233 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/1.013, allocations: 142.2 kB / 0.7234 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.013, allocations: 0 / 0.7234 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-05/1.014, allocations: 19.84 kB / 0.7234 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.014, allocations: 4 kB / 0.7235 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/1.014, allocations: 0 / 0.7235 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.014, allocations: 0 / 0.7235 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.014, allocations: 3.984 kB / 0.7235 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001234/1.014, allocations: 139.5 kB / 0.7236 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002491/1.014, allocations: 0.5258 MB / 0.7241 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/1.014, allocations: 81.34 kB / 0.7242 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/1.014, allocations: 0 / 0.7242 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/1.014, allocations: 8 kB / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/1.014, allocations: 3.984 kB / 0.7242 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/1.014, allocations: 3.984 kB / 0.7242 GB, free: 6.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.494e-05/1.014, allocations: 79.28 kB / 0.7243 GB, free: 6.336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007813/1.015, allocations: 8 kB / 0.7243 GB, free: 6.328 MB / 490.7 MB 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.0001248/1.015, allocations: 99.25 kB / 0.7244 GB, free: 6.219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.079e-05/1.015, allocations: 15.98 kB / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.015, allocations: 0 / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/1.015, allocations: 15.94 kB / 0.7244 GB, free: 6.188 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/1.015, allocations: 4.609 kB / 0.7244 GB, free: 6.184 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/1.016, allocations: 59.92 kB / 0.7245 GB, free: 6.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.016, allocations: 0.6958 MB / 0.7251 GB, free: 5.379 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/1.016, allocations: 0 / 0.7251 GB, free: 5.379 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)