Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") [: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 8.1.4-maint.8.1.x/package.mo): time 1.363/1.363, allocations: 289.8 MB / 297.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009355/0.0009357, allocations: 179.9 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.118/1.118, allocations: 205.1 MB / 0.6256 GB, free: 5.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008409, allocations: 89.19 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.562e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4599, allocations: 116.3 MB / 0.9726 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7097/1.17, allocations: 448.9 MB / 1.411 GB, free: 39.87 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.17, allocations: 88.64 kB / 1.411 GB, free: 39.82 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.9327/2.103, allocations: 328.9 MB / 1.732 GB, free: 227.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.813e-05/2.103, allocations: 31.91 kB / 1.732 GB, free: 227.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002121/2.105, allocations: 1.338 MB / 1.734 GB, free: 225.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/2.105, allocations: 8.031 kB / 1.734 GB, free: 225.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/2.105, allocations: 142.4 kB / 1.734 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/2.107, allocations: 0.9719 MB / 1.735 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/2.107, allocations: 28 kB / 1.735 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/2.107, allocations: 47.94 kB / 1.735 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007771/2.108, allocations: 0.5317 MB / 1.735 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009076/2.109, allocations: 0.7249 MB / 1.736 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/2.109, allocations: 0 / 1.736 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/2.109, allocations: 3.984 kB / 1.736 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/2.109, allocations: 23.91 kB / 1.736 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/2.112, allocations: 3.732 MB / 1.74 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/2.112, allocations: 391.2 kB / 1.74 GB, free: 219 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/2.113, allocations: 254.3 kB / 1.74 GB, free: 218.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006408/2.113, allocations: 1.249 MB / 1.741 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/2.114, allocations: 287.5 kB / 1.742 GB, free: 216.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 1.923e-06/2.114, allocations: 4 kB / 1.742 GB, free: 216.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.001264/2.115, allocations: 0.6333 MB / 1.742 GB, free: 216.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/2.115, allocations: 89.67 kB / 1.742 GB, free: 216.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/2.116, allocations: 0.6412 MB / 1.743 GB, free: 215.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/2.116, allocations: 25.7 kB / 1.743 GB, free: 215.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/2.116, allocations: 336 kB / 1.743 GB, free: 215.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/2.116, allocations: 204.9 kB / 1.744 GB, free: 214.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/2.116, allocations: 0 / 1.744 GB, free: 214.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/2.116, allocations: 337.9 kB / 1.744 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/2.116, allocations: 173.3 kB / 1.744 GB, free: 214.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/2.117, allocations: 311.5 kB / 1.744 GB, free: 214.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/2.117, allocations: 268.1 kB / 1.745 GB, free: 213.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/2.117, allocations: 0 / 1.745 GB, free: 213.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001155/2.118, allocations: 0.6636 MB / 1.745 GB, free: 213.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/2.119, allocations: 0.8757 MB / 1.746 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/2.119, allocations: 8 kB / 1.746 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/2.119, allocations: 84.75 kB / 1.746 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/2.119, allocations: 116.8 kB / 1.746 GB, free: 212 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005039/2.12, allocations: 0.6965 MB / 1.747 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/2.12, allocations: 71.61 kB / 1.747 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/2.12, allocations: 27.98 kB / 1.747 GB, free: 211.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/2.12, allocations: 4 kB / 1.747 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/2.121, allocations: 0.5574 MB / 1.748 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/2.121, allocations: 4 kB / 1.748 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/2.122, allocations: 84.77 kB / 1.748 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/2.122, allocations: 116.8 kB / 1.748 GB, free: 210.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004555/2.123, allocations: 0.6813 MB / 1.749 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/2.123, allocations: 71.55 kB / 1.749 GB, free: 209.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/2.123, allocations: 31.98 kB / 1.749 GB, free: 209.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/2.123, allocations: 118 kB / 1.749 GB, free: 209.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/2.123, allocations: 90.88 kB / 1.749 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/2.125, allocations: 0.954 MB / 1.75 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/2.125, allocations: 8 kB / 1.75 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/2.125, allocations: 0 / 1.75 GB, free: 208.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/2.126, allocations: 0.8217 MB / 1.751 GB, free: 207.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/2.128, allocations: 1.71 MB / 1.752 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/2.128, allocations: 3.984 kB / 1.752 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/2.129, allocations: 103.9 kB / 1.752 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/2.129, allocations: 145.5 kB / 1.753 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/2.129, allocations: 15.98 kB / 1.753 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007065/2.13, allocations: 1.276 MB / 1.754 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.13, allocations: 3.938 kB / 1.754 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001537/2.131, allocations: 1.227 MB / 1.755 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/2.132, allocations: 275.6 kB / 1.755 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/2.132, allocations: 112 / 1.755 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/2.132, allocations: 55.8 kB / 1.755 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/2.132, allocations: 40.59 kB / 1.755 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/2.133, allocations: 27.98 kB / 1.755 GB, free: 202.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004286/2.133, allocations: 0.503 MB / 1.756 GB, free: 202 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001173/2.134, allocations: 0.6047 MB / 1.756 GB, free: 201.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/2.135, allocations: 0.8431 MB / 1.757 GB, free: 200.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00114/2.136, allocations: 0.8753 MB / 1.758 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/2.136, allocations: 0 / 1.758 GB, free: 199.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/2.137, allocations: 355.5 kB / 1.758 GB, free: 199.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/2.138, allocations: 344.6 kB / 1.759 GB, free: 199.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/2.141, allocations: 1.598 MB / 1.76 GB, free: 197.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006734/2.141, allocations: 1.186 MB / 1.762 GB, free: 196.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/2.141, allocations: 0 / 1.762 GB, free: 196.2 MB / 0.948 GB Notification: Performance of Templates: time 0.02939/2.171, allocations: 22.99 MB / 1.784 GB, free: 173.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)