Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 191.2 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4388/0.4388, allocations: 90.86 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 221.4 MB / 342.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 99.14 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1753/0.1763, allocations: 78.44 MB / 494 MB, free: 7.961 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.5326, allocations: 72.3 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.427, allocations: 412.9 MB / 0.9562 GB, free: 235.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.428, allocations: 85.75 kB / 0.9563 GB, free: 235.9 MB / 0.6042 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.9599/2.388, allocations: 340.1 MB / 1.288 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/2.388, allocations: 7.812 kB / 1.288 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000719/2.388, allocations: 139.6 kB / 1.289 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/2.391, allocations: 0.979 MB / 1.29 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/2.391, allocations: 25 kB / 1.29 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/2.391, allocations: 53.11 kB / 1.29 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001247/2.393, allocations: 0.5215 MB / 1.29 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/2.394, allocations: 0.723 MB / 1.291 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/2.394, allocations: 0 / 1.291 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/2.394, allocations: 3.344 kB / 1.291 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/2.394, allocations: 17.56 kB / 1.291 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005605/2.4, allocations: 3.729 MB / 1.294 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/2.4, allocations: 401.2 kB / 1.295 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/2.401, allocations: 268 kB / 1.295 GB, free: 126 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009372/2.402, allocations: 1.241 MB / 1.296 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/2.402, allocations: 296.8 kB / 1.297 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 3.576e-06/2.402, allocations: 0 / 1.297 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.001772/2.404, allocations: 0.6343 MB / 1.297 GB, free: 124.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/2.404, allocations: 84.77 kB / 1.297 GB, free: 124 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/2.405, allocations: 0.6429 MB / 1.298 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/2.405, allocations: 29.52 kB / 1.298 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/2.405, allocations: 333.4 kB / 1.298 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/2.406, allocations: 208.6 kB / 1.298 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/2.406, allocations: 3.938 kB / 1.298 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/2.406, allocations: 324.9 kB / 1.299 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/2.406, allocations: 182.5 kB / 1.299 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/2.406, allocations: 302.4 kB / 1.299 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/2.407, allocations: 264.5 kB / 1.3 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/2.407, allocations: 0 / 1.3 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001567/2.409, allocations: 0.6685 MB / 1.3 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/2.409, allocations: 0.8712 MB / 1.301 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/2.409, allocations: 2.094 kB / 1.301 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/2.409, allocations: 90.5 kB / 1.301 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/2.41, allocations: 119.4 kB / 1.301 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006667/2.411, allocations: 0.692 MB / 1.302 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/2.411, allocations: 83.31 kB / 1.302 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/2.411, allocations: 30.66 kB / 1.302 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/2.411, allocations: 12.69 kB / 1.302 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001318/2.413, allocations: 0.5467 MB / 1.303 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/2.413, allocations: 4.062 kB / 1.303 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/2.413, allocations: 83.12 kB / 1.303 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/2.414, allocations: 114.2 kB / 1.303 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000594/2.414, allocations: 0.6807 MB / 1.303 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/2.415, allocations: 71.77 kB / 1.303 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/2.415, allocations: 26.42 kB / 1.303 GB, free: 119.5 MB / 0.6042 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.0001863/2.415, allocations: 114.6 kB / 1.304 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/2.415, allocations: 93.69 kB / 1.304 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/2.418, allocations: 0.9497 MB / 1.305 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/2.418, allocations: 7.344 kB / 1.305 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/2.418, allocations: 0 / 1.305 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/2.419, allocations: 0.8145 MB / 1.305 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/2.422, allocations: 1.717 MB / 1.307 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/2.422, allocations: 0 / 1.307 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/2.423, allocations: 109.2 kB / 1.307 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/2.423, allocations: 143.5 kB / 1.307 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/2.423, allocations: 10.09 kB / 1.307 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008822/2.424, allocations: 1.279 MB / 1.309 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/2.424, allocations: 0 / 1.309 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001909/2.426, allocations: 1.235 MB / 1.31 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002579/2.429, allocations: 1.996 MB / 1.312 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/2.429, allocations: 269.1 kB / 1.312 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/2.429, allocations: 7.578 kB / 1.312 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/2.43, allocations: 49.33 kB / 1.312 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/2.43, allocations: 53.69 kB / 1.312 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/2.43, allocations: 29.3 kB / 1.312 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007546/2.431, allocations: 0.503 MB / 1.313 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003485/2.435, allocations: 0.7715 MB / 1.313 GB, free: 113.1 MB / 0.6042 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.002009/2.437, allocations: 0.8287 MB / 1.314 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001831/2.438, allocations: 0.8851 MB / 1.315 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/2.438, allocations: 0 / 1.315 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006284/2.439, allocations: 347.2 kB / 1.315 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/2.441, allocations: 352.5 kB / 1.316 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/2.445, allocations: 1.601 MB / 1.317 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009427/2.446, allocations: 1.195 MB / 1.318 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/2.446, allocations: 4 kB / 1.318 GB, free: 108.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)