Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Examples.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.001239/0.00124, allocations: 185.8 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5048/0.5048, allocations: 90.85 MB / 99.08 MB, free: 14.95 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.498/1.498, allocations: 221.4 MB / 342.7 MB, free: 5.219 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.001158/0.001158, allocations: 97.23 kB / 415.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1799/0.1811, allocations: 78.45 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.5735, allocations: 72.29 MB / 0.553 GB, free: 44.88 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.6981, allocations: 101.3 MB / 0.6519 GB, free: 7.398 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6984, allocations: 75.95 kB / 0.652 GB, free: 7.324 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005015/0.7034, allocations: 1.333 MB / 0.6533 GB, free: 5.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7035, allocations: 8 kB / 0.6533 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.7036, allocations: 4.406 kB / 0.6533 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.7037, allocations: 163.1 kB / 0.6535 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.7038, allocations: 5.406 kB / 0.6535 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.7038, allocations: 3.906 kB / 0.6535 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.762e-05/0.7039, allocations: 13 kB / 0.6535 GB, free: 5.727 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.6e-05/0.704, allocations: 37.62 kB / 0.6535 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.704, allocations: 0 / 0.6535 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.704, allocations: 0 / 0.6535 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.704, allocations: 0 / 0.6535 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.7044, allocations: 233.3 kB / 0.6538 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.7045, allocations: 26.64 kB / 0.6538 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.7045, allocations: 12.86 kB / 0.6538 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.7046, allocations: 4.047 kB / 0.6538 GB, free: 5.363 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.7046, allocations: 34.55 kB / 0.6538 GB, free: 5.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.7046, allocations: 0 / 0.6538 GB, free: 5.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.7048, allocations: 41.64 kB / 0.6539 GB, free: 5.273 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.7048, allocations: 55.44 kB / 0.6539 GB, free: 5.207 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.7049, allocations: 90.03 kB / 0.654 GB, free: 5.113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.7049, allocations: 25.7 kB / 0.654 GB, free: 5.082 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.705, allocations: 88.03 kB / 0.6541 GB, free: 4.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.705, allocations: 8 kB / 0.6541 GB, free: 4.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.705, allocations: 0 / 0.6541 GB, free: 4.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.7051, allocations: 314.8 kB / 0.6544 GB, free: 4.664 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.7051, allocations: 4 kB / 0.6544 GB, free: 4.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.7051, allocations: 4 kB / 0.6544 GB, free: 4.656 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.994e-05/0.7052, allocations: 8.062 kB / 0.6544 GB, free: 4.648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7052, allocations: 0 / 0.6544 GB, free: 4.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.48e-05/0.7053, allocations: 41.69 kB / 0.6545 GB, free: 4.602 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7053, allocations: 14 kB / 0.6545 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7053, allocations: 0 / 0.6545 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.7053, allocations: 0.5625 kB / 0.6545 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.7054, allocations: 12.03 kB / 0.6545 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7054, allocations: 3.984 kB / 0.6545 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.7055, allocations: 11.91 kB / 0.6545 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.7055, allocations: 0.6875 kB / 0.6545 GB, free: 4.562 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 6.801e-05/0.7056, allocations: 101 kB / 0.6546 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.7056, allocations: 4 kB / 0.6546 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.7057, allocations: 52.98 kB / 0.6547 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.7058, allocations: 3.906 kB / 0.6547 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7058, allocations: 0 / 0.6547 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7058, allocations: 2.156 kB / 0.6547 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.7059, allocations: 139.2 kB / 0.6548 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7059, allocations: 0 / 0.6548 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.706, allocations: 12 kB / 0.6548 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.706, allocations: 7.922 kB / 0.6548 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.706, allocations: 7.969 kB / 0.6548 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.706, allocations: 0.9375 kB / 0.6548 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7061, allocations: 0 / 0.6548 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001061/0.7062, allocations: 139.5 kB / 0.655 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001992/0.7064, allocations: 0.5077 MB / 0.6555 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.7064, allocations: 77.11 kB / 0.6555 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.7064, allocations: 0 / 0.6555 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.7065, allocations: 11.98 kB / 0.6556 GB, free: 3.406 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.7066, allocations: 3.906 kB / 0.6556 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.7066, allocations: 7.938 kB / 0.6556 GB, free: 3.395 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.806e-05/0.7066, allocations: 91.3 kB / 0.6557 GB, free: 3.305 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008577/0.7075, allocations: 15.94 kB / 0.6557 GB, free: 3.289 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.0001708/0.7077, allocations: 111.2 kB / 0.6558 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.7078, allocations: 12 kB / 0.6558 GB, free: 3.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.7078, allocations: 0 / 0.6558 GB, free: 3.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.7078, allocations: 8 kB / 0.6558 GB, free: 3.152 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.708, allocations: 3.625 kB / 0.6558 GB, free: 3.152 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.7082, allocations: 67.72 kB / 0.6559 GB, free: 3.062 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.7085, allocations: 0.688 MB / 0.6565 GB, free: 2.348 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7085, allocations: 0 / 0.6565 GB, free: 2.348 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)