Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.4827/0.4827, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001061/0.001061, allocations: 177.6 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.198/1.198, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00179/0.00179, allocations: 107.5 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.202e-06, allocations: 0 / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 61.52 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.4376, allocations: 93.57 MB / 0.5895 GB, free: 8.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.4378, allocations: 71.95 kB / 0.5896 GB, free: 8.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003762/0.4416, allocations: 0.9461 MB / 0.5905 GB, free: 7.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.4416, allocations: 0.8438 kB / 0.5905 GB, free: 7.867 MB / 410.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.0003617/0.442, allocations: 345.9 kB / 0.5908 GB, free: 7.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.442, allocations: 8.031 kB / 0.5908 GB, free: 7.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.4421, allocations: 1.562 kB / 0.5908 GB, free: 7.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.4422, allocations: 173 kB / 0.591 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4422, allocations: 0 / 0.591 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.4423, allocations: 0 / 0.591 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.972e-05/0.4423, allocations: 15.98 kB / 0.591 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.818e-05/0.4424, allocations: 33.7 kB / 0.591 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4424, allocations: 0 / 0.591 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.4424, allocations: 0 / 0.591 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4425, allocations: 1.094 kB / 0.591 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.4428, allocations: 234.7 kB / 0.5913 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/0.4429, allocations: 27.83 kB / 0.5913 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.4429, allocations: 16.75 kB / 0.5913 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4429, allocations: 0 / 0.5913 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.443, allocations: 34.56 kB / 0.5913 GB, free: 6.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.443, allocations: 0 / 0.5913 GB, free: 6.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.4431, allocations: 41.61 kB / 0.5914 GB, free: 6.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.4432, allocations: 51.41 kB / 0.5914 GB, free: 6.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.4433, allocations: 98.11 kB / 0.5915 GB, free: 6.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.4433, allocations: 29.73 kB / 0.5916 GB, free: 6.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.4433, allocations: 80.14 kB / 0.5916 GB, free: 6.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.4434, allocations: 3.906 kB / 0.5916 GB, free: 6.531 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.4434, allocations: 0 / 0.5916 GB, free: 6.531 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.4435, allocations: 318.8 kB / 0.5919 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.4435, allocations: 0 / 0.5919 GB, free: 6.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.4435, allocations: 11.5 kB / 0.5919 GB, free: 6.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.4435, allocations: 11.98 kB / 0.592 GB, free: 6.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4436, allocations: 4.062 kB / 0.592 GB, free: 6.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.938e-05/0.4436, allocations: 41.61 kB / 0.592 GB, free: 6.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4437, allocations: 8 kB / 0.592 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4437, allocations: 0 / 0.592 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4437, allocations: 0 / 0.592 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4438, allocations: 12.48 kB / 0.592 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4438, allocations: 0 / 0.592 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.4439, allocations: 12.03 kB / 0.592 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4439, allocations: 4.922 kB / 0.592 GB, free: 6.105 MB / 410.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.508e-05/0.444, allocations: 101 kB / 0.5921 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.444, allocations: 7.906 kB / 0.5921 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.4441, allocations: 52.89 kB / 0.5922 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4441, allocations: 0 / 0.5922 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4441, allocations: 4.031 kB / 0.5922 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4442, allocations: 2.156 kB / 0.5922 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.4443, allocations: 138.1 kB / 0.5923 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4443, allocations: 0 / 0.5923 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.4444, allocations: 14.05 kB / 0.5923 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4444, allocations: 4 kB / 0.5923 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4444, allocations: 0 / 0.5923 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4444, allocations: 2.953 kB / 0.5923 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4444, allocations: 4 kB / 0.5924 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001125/0.4445, allocations: 139.5 kB / 0.5925 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.4446, allocations: 77.11 kB / 0.5926 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4446, allocations: 0 / 0.5926 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.4447, allocations: 11.98 kB / 0.5926 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.4447, allocations: 9.375 kB / 0.5926 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4447, allocations: 0 / 0.5926 GB, free: 5.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.529e-05/0.4448, allocations: 83.28 kB / 0.5927 GB, free: 5.395 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.445, allocations: 12 kB / 0.5927 GB, free: 5.383 MB / 410.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.0001834/0.4452, allocations: 123.2 kB / 0.5928 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.501e-05/0.4453, allocations: 12 kB / 0.5928 GB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4453, allocations: 4.062 kB / 0.5928 GB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.002e-05/0.4453, allocations: 4 kB / 0.5928 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.4455, allocations: 3.906 kB / 0.5928 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.4457, allocations: 57.42 kB / 0.5929 GB, free: 5.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.446, allocations: 0.6919 MB / 0.5935 GB, free: 4.434 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.446, allocations: 1.688 kB / 0.5935 GB, free: 4.434 MB / 410.7 MB Notification: Performance of Templates: time 0.002625/0.4487, allocations: 0.5742 MB / 0.5941 GB, free: 3.898 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)