Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 249.4 MB / 256.7 MB, free: 7.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 181.2 kB / 316 MB, free: 3.594 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007899/0.0007897, allocations: 67.42 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.336/0.3368, allocations: 112.5 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.5081, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.537, allocations: 442.7 MB / 1.317 GB, free: 304.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/1.537, allocations: 95.81 kB / 1.317 GB, free: 304 MB / 0.8698 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.9625/2.5, allocations: 330.3 MB / 1.64 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/2.5, allocations: 7.5 kB / 1.64 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/2.5, allocations: 137.6 kB / 1.64 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/2.502, allocations: 0.9809 MB / 1.641 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/2.502, allocations: 29.28 kB / 1.641 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/2.502, allocations: 51.83 kB / 1.641 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008311/2.503, allocations: 0.5214 MB / 1.641 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/2.504, allocations: 0.7192 MB / 1.642 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/2.504, allocations: 11.19 kB / 1.642 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/2.504, allocations: 0 / 1.642 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/2.504, allocations: 19.22 kB / 1.642 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/2.507, allocations: 3.738 MB / 1.646 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/2.508, allocations: 390 kB / 1.646 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/2.508, allocations: 256.8 kB / 1.646 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/2.509, allocations: 1.249 MB / 1.647 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/2.509, allocations: 299 kB / 1.648 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 2.495e-06/2.509, allocations: 0 / 1.648 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.001507/2.511, allocations: 0.6356 MB / 1.648 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/2.511, allocations: 81.48 kB / 1.648 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/2.512, allocations: 0.6502 MB / 1.649 GB, free: 182 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/2.512, allocations: 25.7 kB / 1.649 GB, free: 182 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/2.512, allocations: 327.5 kB / 1.649 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/2.512, allocations: 212.8 kB / 1.65 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/2.512, allocations: 3.812 kB / 1.65 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/2.512, allocations: 327.4 kB / 1.65 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/2.513, allocations: 181.7 kB / 1.65 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/2.513, allocations: 303.6 kB / 1.65 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/2.514, allocations: 263.8 kB / 1.651 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/2.514, allocations: 3.812 kB / 1.651 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001266/2.515, allocations: 0.6696 MB / 1.651 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002107/2.515, allocations: 0.8765 MB / 1.652 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/2.515, allocations: 3.719 kB / 1.652 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/2.515, allocations: 83.84 kB / 1.652 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/2.516, allocations: 124.9 kB / 1.652 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005635/2.516, allocations: 0.6861 MB / 1.653 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/2.517, allocations: 82.36 kB / 1.653 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/2.517, allocations: 24.25 kB / 1.653 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/2.517, allocations: 6.531 kB / 1.653 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001115/2.518, allocations: 0.5415 MB / 1.654 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/2.518, allocations: 7.688 kB / 1.654 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/2.519, allocations: 83.48 kB / 1.654 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/2.519, allocations: 123.8 kB / 1.654 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005169/2.519, allocations: 0.6841 MB / 1.655 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/2.52, allocations: 66.41 kB / 1.655 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/2.52, allocations: 24.19 kB / 1.655 GB, free: 179.2 MB / 0.8698 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.0001389/2.52, allocations: 132.4 kB / 1.655 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/2.52, allocations: 91.16 kB / 1.655 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/2.522, allocations: 0.9552 MB / 1.656 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/2.522, allocations: 11.58 kB / 1.656 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.522, allocations: 0 / 1.656 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/2.523, allocations: 0.8151 MB / 1.657 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/2.526, allocations: 1.721 MB / 1.658 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/2.526, allocations: 0 / 1.658 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/2.527, allocations: 105.2 kB / 1.658 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/2.527, allocations: 140.4 kB / 1.659 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/2.527, allocations: 14.25 kB / 1.659 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007725/2.528, allocations: 1.272 MB / 1.66 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/2.528, allocations: 3.906 kB / 1.66 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001724/2.529, allocations: 1.226 MB / 1.661 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002245/2.532, allocations: 2.003 MB / 1.663 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/2.532, allocations: 270.9 kB / 1.663 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/2.532, allocations: 0 / 1.663 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/2.533, allocations: 56.36 kB / 1.663 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/2.533, allocations: 41.47 kB / 1.663 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/2.533, allocations: 25.56 kB / 1.663 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000537/2.534, allocations: 0.5062 MB / 1.664 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002739/2.536, allocations: 0.786 MB / 1.665 GB, free: 176 MB / 0.8698 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.001436/2.538, allocations: 0.8405 MB / 1.665 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001399/2.539, allocations: 0.8797 MB / 1.666 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.539, allocations: 0 / 1.666 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/2.54, allocations: 353.3 kB / 1.667 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/2.541, allocations: 342.5 kB / 1.667 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/2.544, allocations: 1.609 MB / 1.668 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/2.545, allocations: 1.193 MB / 1.67 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.303e-06/2.545, allocations: 3.438 kB / 1.67 GB, free: 174.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)