Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.337/1.337, allocations: 285.5 MB / 292.8 MB, free: 9.766 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.0009436/0.0009437, allocations: 191.6 kB / 361.1 MB, free: 360 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.049/1.049, allocations: 205.1 MB / 0.6195 GB, free: 2.891 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 88.39 kB / 0.7326 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3642/0.365, allocations: 121.4 MB / 0.8511 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.5207, allocations: 115.3 MB / 0.9638 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6388/1.16, allocations: 447.9 MB / 1.401 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/1.16, allocations: 90.27 kB / 1.401 GB, free: 8.02 MB / 0.9011 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.8725/2.032, allocations: 330.3 MB / 1.724 GB, free: 74.39 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/2.032, allocations: 8 kB / 1.724 GB, free: 74.38 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/2.033, allocations: 138.4 kB / 1.724 GB, free: 74.25 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/2.034, allocations: 0.9725 MB / 1.725 GB, free: 73.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/2.035, allocations: 28 kB / 1.725 GB, free: 73.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/2.035, allocations: 44 kB / 1.725 GB, free: 73.16 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008382/2.035, allocations: 0.5272 MB / 1.725 GB, free: 72.63 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/2.036, allocations: 0.725 MB / 1.726 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/2.036, allocations: 0 / 1.726 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/2.037, allocations: 7.844 kB / 1.726 GB, free: 71.86 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/2.037, allocations: 20 kB / 1.726 GB, free: 71.84 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/2.04, allocations: 3.746 MB / 1.73 GB, free: 67.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/2.041, allocations: 387.7 kB / 1.73 GB, free: 67.51 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/2.041, allocations: 254.7 kB / 1.73 GB, free: 67.26 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/2.042, allocations: 1.247 MB / 1.732 GB, free: 65.74 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/2.042, allocations: 291 kB / 1.732 GB, free: 65.44 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 1.883e-06/2.042, allocations: 0 / 1.732 GB, free: 65.44 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.001375/2.043, allocations: 0.641 MB / 1.733 GB, free: 64.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/2.043, allocations: 89.77 kB / 1.733 GB, free: 64.68 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/2.044, allocations: 0.6451 MB / 1.733 GB, free: 64.03 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/2.044, allocations: 29.7 kB / 1.733 GB, free: 63.99 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/2.044, allocations: 328 kB / 1.734 GB, free: 63.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/2.044, allocations: 208.9 kB / 1.734 GB, free: 63.46 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/2.044, allocations: 4 kB / 1.734 GB, free: 63.45 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/2.044, allocations: 329.9 kB / 1.734 GB, free: 63.12 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/2.045, allocations: 177.3 kB / 1.734 GB, free: 62.95 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/2.045, allocations: 303.6 kB / 1.735 GB, free: 62.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/2.046, allocations: 267 kB / 1.735 GB, free: 62.35 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/2.046, allocations: 0 / 1.735 GB, free: 62.35 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001242/2.047, allocations: 0.6675 MB / 1.736 GB, free: 61.67 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/2.047, allocations: 0.88 MB / 1.736 GB, free: 60.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/2.047, allocations: 4 kB / 1.736 GB, free: 60.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/2.047, allocations: 84.77 kB / 1.736 GB, free: 60.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/2.048, allocations: 123.9 kB / 1.737 GB, free: 60.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005227/2.048, allocations: 0.6848 MB / 1.737 GB, free: 59.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/2.049, allocations: 75.55 kB / 1.737 GB, free: 59.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/2.049, allocations: 43.83 kB / 1.737 GB, free: 59.69 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/2.049, allocations: 4.094 kB / 1.737 GB, free: 59.69 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001112/2.05, allocations: 0.5419 MB / 1.738 GB, free: 59.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/2.05, allocations: 4 kB / 1.738 GB, free: 59.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/2.05, allocations: 89.03 kB / 1.738 GB, free: 59.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/2.051, allocations: 115.8 kB / 1.738 GB, free: 58.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004721/2.051, allocations: 0.681 MB / 1.739 GB, free: 58.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/2.052, allocations: 71.55 kB / 1.739 GB, free: 58.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/2.052, allocations: 28 kB / 1.739 GB, free: 58.13 MB / 0.9323 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.0001218/2.052, allocations: 126.6 kB / 1.739 GB, free: 58 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/2.052, allocations: 90.88 kB / 1.739 GB, free: 57.91 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/2.054, allocations: 0.9436 MB / 1.74 GB, free: 56.95 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/2.054, allocations: 15.98 kB / 1.74 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/2.054, allocations: 0 / 1.74 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/2.055, allocations: 0.8061 MB / 1.741 GB, free: 56.07 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/2.057, allocations: 1.723 MB / 1.742 GB, free: 54.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.057, allocations: 7.969 kB / 1.742 GB, free: 54.29 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/2.058, allocations: 111.8 kB / 1.743 GB, free: 54.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003684/2.058, allocations: 141.5 kB / 1.743 GB, free: 54.03 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/2.058, allocations: 12 kB / 1.743 GB, free: 54.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007045/2.059, allocations: 1.269 MB / 1.744 GB, free: 52.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/2.059, allocations: 4.125 kB / 1.744 GB, free: 52.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001597/2.061, allocations: 1.227 MB / 1.745 GB, free: 51.43 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002089/2.063, allocations: 1.998 MB / 1.747 GB, free: 49.38 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/2.063, allocations: 267.6 kB / 1.747 GB, free: 49.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/2.063, allocations: 8 kB / 1.747 GB, free: 49.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/2.064, allocations: 59.73 kB / 1.747 GB, free: 49.04 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/2.064, allocations: 44.58 kB / 1.748 GB, free: 48.99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/2.064, allocations: 27.98 kB / 1.748 GB, free: 48.96 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0004726/2.064, allocations: 0.503 MB / 1.748 GB, free: 48.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002655/2.067, allocations: 0.7796 MB / 1.749 GB, free: 47.68 MB / 0.9323 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.001273/2.068, allocations: 0.8332 MB / 1.75 GB, free: 46.94 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001266/2.07, allocations: 0.8818 MB / 1.75 GB, free: 46.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.07, allocations: 8.25 kB / 1.75 GB, free: 46.05 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/2.07, allocations: 346.3 kB / 1.751 GB, free: 45.71 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/2.072, allocations: 339.2 kB / 1.751 GB, free: 45.39 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/2.074, allocations: 1.614 MB / 1.753 GB, free: 43.73 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/2.075, allocations: 1.19 MB / 1.754 GB, free: 42.5 MB / 0.9323 GB Notification: Performance of SimCode: time 3.6e-07/2.075, allocations: 0 / 1.754 GB, free: 42.5 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)