Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.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: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce") [: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.7127/0.7127, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.00125/0.00125, allocations: 181.3 kB / 164.4 MB, free: 6.879 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.901/1.901, allocations: 205.1 MB / 399.1 MB, free: 6.156 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.001162/0.001162, allocations: 81.52 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.855e-06, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1578, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5606, allocations: 102.4 MB / 0.7209 GB, free: 10.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.5609, allocations: 79.95 kB / 0.721 GB, free: 9.953 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003972/0.5649, allocations: 0.9776 MB / 0.7219 GB, free: 8.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.5649, allocations: 3.938 kB / 0.7219 GB, free: 8.977 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.0003502/0.5653, allocations: 350.4 kB / 0.7223 GB, free: 8.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5654, allocations: 8.031 kB / 0.7223 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.5654, allocations: 0 / 0.7223 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5655, allocations: 167 kB / 0.7224 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.5655, allocations: 0 / 0.7224 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.5656, allocations: 3.984 kB / 0.7224 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.608e-05/0.5656, allocations: 15.94 kB / 0.7225 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.704e-05/0.5657, allocations: 29.7 kB / 0.7225 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5657, allocations: 4 kB / 0.7225 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5658, allocations: 0 / 0.7225 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5658, allocations: 0 / 0.7225 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.5661, allocations: 233.4 kB / 0.7227 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.285e-05/0.5662, allocations: 22.58 kB / 0.7227 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.5662, allocations: 12.86 kB / 0.7227 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.5663, allocations: 4 kB / 0.7227 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.5663, allocations: 39.06 kB / 0.7228 GB, free: 7.953 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.5663, allocations: 0 / 0.7228 GB, free: 7.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001545/0.5665, allocations: 38.27 kB / 0.7228 GB, free: 7.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.5665, allocations: 55.41 kB / 0.7229 GB, free: 7.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.5666, allocations: 92.98 kB / 0.723 GB, free: 7.746 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.5666, allocations: 25.7 kB / 0.723 GB, free: 7.715 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.5667, allocations: 80.14 kB / 0.7231 GB, free: 7.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.5667, allocations: 11.94 kB / 0.7231 GB, free: 7.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.5667, allocations: 6.188 kB / 0.7231 GB, free: 7.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5668, allocations: 310.8 kB / 0.7234 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.5668, allocations: 0 / 0.7234 GB, free: 7.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/0.5668, allocations: 8 kB / 0.7234 GB, free: 7.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.5669, allocations: 11.92 kB / 0.7234 GB, free: 7.285 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5669, allocations: 0 / 0.7234 GB, free: 7.285 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.609e-05/0.567, allocations: 37.7 kB / 0.7234 GB, free: 7.242 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.567, allocations: 16 kB / 0.7234 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.567, allocations: 0 / 0.7234 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.567, allocations: 0 / 0.7234 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.5671, allocations: 14.17 kB / 0.7235 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5671, allocations: 0 / 0.7235 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.5672, allocations: 15.98 kB / 0.7235 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.5672, allocations: 0 / 0.7235 GB, free: 7.199 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 7.243e-05/0.5673, allocations: 101 kB / 0.7236 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.5674, allocations: 11.89 kB / 0.7236 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.5675, allocations: 52.88 kB / 0.7236 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5675, allocations: 0 / 0.7236 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5675, allocations: 0 / 0.7236 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5675, allocations: 0 / 0.7236 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.5676, allocations: 138.2 kB / 0.7238 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5677, allocations: 4.031 kB / 0.7238 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.426e-05/0.5677, allocations: 15.98 kB / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.5677, allocations: 3.906 kB / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.5678, allocations: 0 / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5678, allocations: 0 / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5678, allocations: 4 kB / 0.7238 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001097/0.5679, allocations: 139.5 kB / 0.7239 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.5679, allocations: 85.02 kB / 0.724 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.568, allocations: 0 / 0.724 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.568, allocations: 11.98 kB / 0.724 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.5681, allocations: 0 / 0.724 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5681, allocations: 0 / 0.724 GB, free: 6.562 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.975e-05/0.5681, allocations: 87.25 kB / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.5684, allocations: 19.94 kB / 0.7241 GB, free: 6.457 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 (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.0001716/0.5686, allocations: 115.2 kB / 0.7242 GB, free: 6.332 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.684e-05/0.5686, allocations: 12 kB / 0.7242 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5686, allocations: 0 / 0.7242 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.5687, allocations: 8 kB / 0.7242 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.5688, allocations: 12.02 kB / 0.7243 GB, free: 6.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.5691, allocations: 63.86 kB / 0.7243 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.5694, allocations: 0.6841 MB / 0.725 GB, free: 5.504 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5694, allocations: 0 / 0.725 GB, free: 5.504 MB / 490.7 MB Notification: Performance of Templates: time 0.002537/0.5719, allocations: 0.5818 MB / 0.7256 GB, free: 4.93 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)