Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 189.9 kB / 7.806 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5007/0.5007, allocations: 90.84 MB / 99.06 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.4 MB / 342.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 87.91 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2196/0.2207, allocations: 78.45 MB / 494 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.7183, allocations: 72.3 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.8517, allocations: 101.7 MB / 0.6523 GB, free: 8.277 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.8521, allocations: 76.44 kB / 0.6524 GB, free: 8.203 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.006765/0.8589, allocations: 1.848 MB / 0.6542 GB, free: 6.359 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.8589, allocations: 12.56 kB / 0.6542 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.8594, allocations: 37.86 kB / 0.6542 GB, free: 6.312 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.8595, allocations: 163.1 kB / 0.6544 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.8596, allocations: 0 / 0.6544 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.8596, allocations: 0 / 0.6544 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.421e-05/0.8597, allocations: 12.56 kB / 0.6544 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.856e-05/0.8598, allocations: 51.2 kB / 0.6545 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.8598, allocations: 0 / 0.6545 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.8598, allocations: 2.438 kB / 0.6545 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.8598, allocations: 0 / 0.6545 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.86, allocations: 138.7 kB / 0.6546 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.083e-05/0.8602, allocations: 39.62 kB / 0.6546 GB, free: 5.828 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.8602, allocations: 14.38 kB / 0.6546 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.8602, allocations: 0 / 0.6546 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.8603, allocations: 38.56 kB / 0.6547 GB, free: 5.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.8603, allocations: 0.5625 kB / 0.6547 GB, free: 5.766 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002003/0.8605, allocations: 54.23 kB / 0.6547 GB, free: 5.707 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.8605, allocations: 52.09 kB / 0.6548 GB, free: 5.645 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.8606, allocations: 85.69 kB / 0.6549 GB, free: 5.555 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.8607, allocations: 25.7 kB / 0.6549 GB, free: 5.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.8608, allocations: 84.64 kB / 0.655 GB, free: 5.438 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.8608, allocations: 8.375 kB / 0.655 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.8608, allocations: 0.7188 kB / 0.655 GB, free: 5.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.861, allocations: 322.9 kB / 0.6553 GB, free: 5.105 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.861, allocations: 4 kB / 0.6553 GB, free: 5.102 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.861, allocations: 8 kB / 0.6553 GB, free: 5.094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.8611, allocations: 9.812 kB / 0.6553 GB, free: 5.086 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8611, allocations: 0 / 0.6553 GB, free: 5.086 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001115/0.8612, allocations: 49.67 kB / 0.6554 GB, free: 5.031 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8612, allocations: 8 kB / 0.6554 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8612, allocations: 0 / 0.6554 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8613, allocations: 3.906 kB / 0.6554 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.8614, allocations: 12.08 kB / 0.6554 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.8614, allocations: 0 / 0.6554 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.8615, allocations: 4 kB / 0.6554 GB, free: 5.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.8615, allocations: 0 / 0.6554 GB, free: 5.004 MB / 474.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.048e-05/0.8616, allocations: 109 kB / 0.6555 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.8616, allocations: 7.906 kB / 0.6555 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.003e-05/0.8617, allocations: 7.312 kB / 0.6555 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8617, allocations: 0 / 0.6555 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.8617, allocations: 1.969 kB / 0.6555 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8617, allocations: 0 / 0.6555 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.8619, allocations: 138.1 kB / 0.6556 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8619, allocations: 0 / 0.6556 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.862, allocations: 11.98 kB / 0.6556 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.862, allocations: 7.875 kB / 0.6557 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.862, allocations: 1.188 kB / 0.6557 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.862, allocations: 7.906 kB / 0.6557 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.862, allocations: 0 / 0.6557 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001292/0.8622, allocations: 73.11 kB / 0.6557 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002231/0.8624, allocations: 453.4 kB / 0.6562 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.8625, allocations: 89.17 kB / 0.6562 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.8625, allocations: 0 / 0.6562 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8626, allocations: 7.891 kB / 0.6563 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.8627, allocations: 5.75 kB / 0.6563 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.8627, allocations: 3.938 kB / 0.6563 GB, free: 4 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.93e-05/0.8627, allocations: 75.28 kB / 0.6563 GB, free: 3.926 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008026/0.8635, allocations: 19.98 kB / 0.6564 GB, free: 3.906 MB / 474.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 (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 Backend phase and start with SimCode phase: time 0.0002472/0.8638, allocations: 119.2 kB / 0.6565 GB, free: 3.777 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.8639, allocations: 15.98 kB / 0.6565 GB, free: 3.762 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8639, allocations: 4 kB / 0.6565 GB, free: 3.758 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.864, allocations: 14.98 kB / 0.6565 GB, free: 3.746 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.8641, allocations: 5.328 kB / 0.6565 GB, free: 3.742 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.8645, allocations: 63.98 kB / 0.6566 GB, free: 3.656 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.8649, allocations: 0.6959 MB / 0.6572 GB, free: 2.934 MB / 474.7 MB Notification: Performance of SimCode: time 4e-07/0.8649, allocations: 0 / 0.6572 GB, free: 2.934 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)