Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.835/1.835, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 185.3 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 97.42 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4395/0.4405, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.658, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8036/1.462, allocations: 460.7 MB / 1.655 GB, free: 11.3 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.462, allocations: 96.3 kB / 1.655 GB, free: 11.25 MB / 1.089 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 1.026/2.488, allocations: 340.2 MB / 1.987 GB, free: 156.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/2.488, allocations: 13 kB / 1.987 GB, free: 156.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/2.489, allocations: 134.4 kB / 1.988 GB, free: 156.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/2.49, allocations: 0.9764 MB / 1.989 GB, free: 155.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/2.49, allocations: 24 kB / 1.989 GB, free: 155.5 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/2.49, allocations: 51.94 kB / 1.989 GB, free: 155.4 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008126/2.491, allocations: 0.5272 MB / 1.989 GB, free: 154.9 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/2.492, allocations: 0.7249 MB / 1.99 GB, free: 154.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/2.492, allocations: 4 kB / 1.99 GB, free: 154.1 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/2.492, allocations: 3.938 kB / 1.99 GB, free: 154.1 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/2.492, allocations: 20 kB / 1.99 GB, free: 154.1 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/2.495, allocations: 3.734 MB / 1.993 GB, free: 150.2 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/2.496, allocations: 391.3 kB / 1.994 GB, free: 149.8 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/2.496, allocations: 255.8 kB / 1.994 GB, free: 149.5 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006649/2.497, allocations: 1.247 MB / 1.995 GB, free: 148 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/2.497, allocations: 290.9 kB / 1.996 GB, free: 147.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=63): time 2.835e-06/2.497, allocations: 96 / 1.996 GB, free: 147.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=63): time 0.001292/2.499, allocations: 0.6371 MB / 1.996 GB, free: 147.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/2.499, allocations: 85.77 kB / 1.996 GB, free: 147 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/2.499, allocations: 0.6451 MB / 1.997 GB, free: 146.3 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/2.499, allocations: 29.7 kB / 1.997 GB, free: 146.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/2.499, allocations: 331.9 kB / 1.997 GB, free: 145.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/2.5, allocations: 208.9 kB / 1.997 GB, free: 145.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/2.5, allocations: 0 / 1.997 GB, free: 145.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/2.5, allocations: 330 kB / 1.998 GB, free: 145.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/2.5, allocations: 177.3 kB / 1.998 GB, free: 145.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/2.5, allocations: 315.5 kB / 1.998 GB, free: 144.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/2.501, allocations: 259 kB / 1.999 GB, free: 144.6 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/2.501, allocations: 0 / 1.999 GB, free: 144.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001186/2.502, allocations: 0.6635 MB / 1.999 GB, free: 143.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/2.502, allocations: 0.8719 MB / 2 GB, free: 143 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/2.502, allocations: 4 kB / 2 GB, free: 143 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/2.503, allocations: 88.75 kB / 2 GB, free: 142.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/2.503, allocations: 119.8 kB / 2 GB, free: 142.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005172/2.503, allocations: 0.6927 MB / 2.001 GB, free: 142.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/2.504, allocations: 79.45 kB / 2.001 GB, free: 142 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/2.504, allocations: 27.98 kB / 2.001 GB, free: 142 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-06/2.504, allocations: 4 kB / 2.001 GB, free: 142 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/2.505, allocations: 0.546 MB / 2.002 GB, free: 141.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/2.505, allocations: 7.984 kB / 2.002 GB, free: 141.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/2.505, allocations: 81.36 kB / 2.002 GB, free: 141.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/2.506, allocations: 119.8 kB / 2.002 GB, free: 141.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004779/2.506, allocations: 0.6851 MB / 2.002 GB, free: 140.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/2.507, allocations: 67.55 kB / 2.002 GB, free: 140.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/2.507, allocations: 31.98 kB / 2.002 GB, free: 140.4 MB / 1.135 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.0001136/2.507, allocations: 120.3 kB / 2.003 GB, free: 140.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-05/2.507, allocations: 86.88 kB / 2.003 GB, free: 140.2 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/2.509, allocations: 0.9552 MB / 2.004 GB, free: 139.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/2.509, allocations: 11.98 kB / 2.004 GB, free: 139.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/2.509, allocations: 0 / 2.004 GB, free: 139.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/2.51, allocations: 0.81 MB / 2.004 GB, free: 138.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/2.512, allocations: 1.715 MB / 2.006 GB, free: 136.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/2.512, allocations: 0 / 2.006 GB, free: 136.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/2.513, allocations: 111.8 kB / 2.006 GB, free: 136.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/2.513, allocations: 137.6 kB / 2.006 GB, free: 136.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/2.513, allocations: 15.98 kB / 2.006 GB, free: 136.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007052/2.514, allocations: 1.276 MB / 2.008 GB, free: 135 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.514, allocations: 3.938 kB / 2.008 GB, free: 135 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001592/2.515, allocations: 1.235 MB / 2.009 GB, free: 133.7 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002097/2.518, allocations: 2.006 MB / 2.011 GB, free: 131.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/2.518, allocations: 263.6 kB / 2.011 GB, free: 131.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/2.518, allocations: 4 kB / 2.011 GB, free: 131.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/2.519, allocations: 51.88 kB / 2.011 GB, free: 131.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/2.519, allocations: 44.5 kB / 2.011 GB, free: 131.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/2.519, allocations: 27.98 kB / 2.011 GB, free: 131.2 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0004607/2.519, allocations: 0.5069 MB / 2.012 GB, free: 130.7 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002648/2.522, allocations: 0.7766 MB / 2.012 GB, free: 130 MB / 1.135 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.001223/2.523, allocations: 0.8344 MB / 2.013 GB, free: 129.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001262/2.524, allocations: 0.8736 MB / 2.014 GB, free: 128.3 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/2.524, allocations: 3.938 kB / 2.014 GB, free: 128.3 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/2.525, allocations: 355.3 kB / 2.014 GB, free: 128 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/2.526, allocations: 344.2 kB / 2.015 GB, free: 127.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/2.529, allocations: 1.606 MB / 2.016 GB, free: 126 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/2.529, allocations: 1.203 MB / 2.017 GB, free: 124.8 MB / 1.135 GB Notification: Performance of SimCode: time 3.31e-07/2.529, allocations: 0 / 2.017 GB, free: 124.8 MB / 1.135 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)