Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [: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 3.0.0/package.mo): time 0.7567/0.7567, allocations: 132.4 MB / 139.7 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001332/0.001332, allocations: 168.8 kB / 171.6 MB, free: 2 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.808/1.808, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002261/0.002261, allocations: 104 kB / 444.4 MB, free: 9.355 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6831/0.6831, allocations: 73.39 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.298/5.981, allocations: 2.142 GB / 2.808 GB, free: 53 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/5.981, allocations: 92.5 kB / 2.808 GB, free: 52.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.712/9.693, allocations: 0.93 GB / 3.738 GB, free: 69.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004611/9.693, allocations: 43.61 kB / 3.738 GB, free: 69.82 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01264/9.706, allocations: 2.267 MB / 3.741 GB, free: 68.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/9.706, allocations: 8.719 kB / 3.741 GB, free: 68.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005447/9.712, allocations: 0.5387 MB / 3.741 GB, free: 68.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006548/9.718, allocations: 1.367 MB / 3.742 GB, free: 67.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/9.718, allocations: 44.28 kB / 3.743 GB, free: 67.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000808/9.719, allocations: 95.56 kB / 3.743 GB, free: 67.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004358/9.723, allocations: 1.359 MB / 3.744 GB, free: 67.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/9.727, allocations: 1.562 MB / 3.745 GB, free: 66.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/9.727, allocations: 4.625 kB / 3.745 GB, free: 66.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/9.727, allocations: 2.594 kB / 3.745 GB, free: 66.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.675e-05/9.727, allocations: 70.41 kB / 3.746 GB, free: 66.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/9.739, allocations: 7.258 MB / 3.753 GB, free: 61.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/9.742, allocations: 1.045 MB / 3.754 GB, free: 60.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00082/9.742, allocations: 0.5688 MB / 3.754 GB, free: 60.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/9.743, allocations: 0.6841 MB / 3.755 GB, free: 59.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/9.744, allocations: 0.7626 MB / 3.756 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=106): time 3.416e-06/9.744, allocations: 0 / 3.756 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=106): time 0.00391/9.748, allocations: 1.198 MB / 3.757 GB, free: 58.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/9.748, allocations: 398.5 kB / 3.757 GB, free: 57.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/9.75, allocations: 0.873 MB / 3.758 GB, free: 57.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/9.75, allocations: 29.7 kB / 3.758 GB, free: 57.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/9.75, allocations: 0.5349 MB / 3.759 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/9.751, allocations: 354.7 kB / 3.759 GB, free: 56.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/9.751, allocations: 0 / 3.759 GB, free: 56.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/9.751, allocations: 353.8 kB / 3.759 GB, free: 55.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/9.751, allocations: 452.6 kB / 3.76 GB, free: 55.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/9.752, allocations: 0.6814 MB / 3.76 GB, free: 54.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/9.753, allocations: 0.562 MB / 3.761 GB, free: 54.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/9.753, allocations: 4 kB / 3.761 GB, free: 54.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002178/9.755, allocations: 1.292 MB / 3.762 GB, free: 52.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/9.755, allocations: 8 kB / 3.762 GB, free: 52.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/9.755, allocations: 0 / 3.762 GB, free: 52.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/9.756, allocations: 8 kB / 3.762 GB, free: 52.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/9.757, allocations: 247 kB / 3.762 GB, free: 52.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/9.757, allocations: 8 kB / 3.762 GB, free: 52.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/9.759, allocations: 161.3 kB / 3.763 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/9.759, allocations: 43.92 kB / 3.763 GB, free: 52.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002933/9.759, allocations: 143.3 kB / 3.763 GB, free: 52.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/9.759, allocations: 134.4 kB / 3.763 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/9.762, allocations: 1.217 MB / 3.764 GB, free: 50.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/9.762, allocations: 11.91 kB / 3.764 GB, free: 50.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/9.762, allocations: 10.91 kB / 3.764 GB, free: 50.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/9.763, allocations: 0.954 MB / 3.765 GB, free: 49.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005245/9.768, allocations: 2.927 MB / 3.768 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/9.768, allocations: 7.922 kB / 3.768 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/9.77, allocations: 242.5 kB / 3.768 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/9.77, allocations: 11.91 kB / 3.768 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/9.77, allocations: 19.97 kB / 3.768 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/9.77, allocations: 10.06 kB / 3.768 GB, free: 46.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/9.77, allocations: 0 / 3.768 GB, free: 46.58 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002765/9.772, allocations: 1.954 MB / 3.77 GB, free: 44.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/9.773, allocations: 387.1 kB / 3.77 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/9.774, allocations: 7.984 kB / 3.77 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/9.775, allocations: 114.2 kB / 3.771 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/9.775, allocations: 52.92 kB / 3.771 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/9.775, allocations: 41.81 kB / 3.771 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0009874/9.776, allocations: 0.6697 MB / 3.771 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002465/9.779, allocations: 0.7016 MB / 3.772 GB, free: 42.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 2 ($whenCondition1,mRoo_flow.nextTimeEvent) * Number of discrete states: 1 (mRoo_flow.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.004536/9.783, allocations: 3.018 MB / 3.775 GB, free: 39.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001927/9.785, allocations: 1.092 MB / 3.776 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/9.785, allocations: 4 kB / 3.776 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/9.786, allocations: 0.5397 MB / 3.777 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/9.79, allocations: 0.6544 MB / 3.777 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/9.796, allocations: 2.759 MB / 3.78 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/9.797, allocations: 1.553 MB / 3.781 GB, free: 33.31 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/9.797, allocations: 0 / 3.781 GB, free: 33.31 MB / 0.6355 GB Notification: Performance of Templates: time 0.06509/9.863, allocations: 41.95 MB / 3.822 GB, free: 7.785 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)