Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.296/2.296, allocations: 248.6 MB / 255.9 MB, free: 7.219 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.001784/0.001783, allocations: 188.1 kB / 315.1 MB, free: 4.23 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.943/1.943, allocations: 205.1 MB / 0.5658 GB, free: 352 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 87.34 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4714/0.4727, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.7028, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/2.26, allocations: 442.5 MB / 1.316 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003966/2.26, allocations: 87.3 kB / 1.316 GB, free: 258.5 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 1.69/3.951, allocations: 330.3 MB / 1.638 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/3.951, allocations: 7.781 kB / 1.638 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/3.952, allocations: 138.2 kB / 1.638 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/3.955, allocations: 0.9836 MB / 1.639 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.793e-05/3.955, allocations: 26.06 kB / 1.639 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/3.956, allocations: 46.16 kB / 1.639 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002566/3.958, allocations: 0.524 MB / 1.64 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/3.961, allocations: 0.7241 MB / 1.641 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.063e-05/3.961, allocations: 3.906 kB / 1.641 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/3.961, allocations: 6.938 kB / 1.641 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/3.961, allocations: 20.25 kB / 1.641 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/3.972, allocations: 3.731 MB / 1.644 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/3.974, allocations: 388.6 kB / 1.645 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/3.975, allocations: 256.9 kB / 1.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/3.976, allocations: 1.246 MB / 1.646 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008081/3.977, allocations: 292.5 kB / 1.646 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 5.59e-06/3.977, allocations: 0 / 1.646 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.003635/3.98, allocations: 0.6381 MB / 1.647 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/3.98, allocations: 88.61 kB / 1.647 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/3.982, allocations: 0.6516 MB / 1.648 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/3.983, allocations: 27.39 kB / 1.648 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/3.983, allocations: 334.9 kB / 1.648 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/3.983, allocations: 209.1 kB / 1.648 GB, free: 201 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/3.984, allocations: 0 / 1.648 GB, free: 201 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/3.984, allocations: 327.5 kB / 1.649 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/3.984, allocations: 180.8 kB / 1.649 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/3.985, allocations: 305.1 kB / 1.649 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/3.986, allocations: 267 kB / 1.649 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/3.986, allocations: 2.938 kB / 1.649 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00333/3.99, allocations: 0.6646 MB / 1.65 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000237/3.99, allocations: 0.8774 MB / 1.651 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/3.99, allocations: 0 / 1.651 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/3.99, allocations: 87.58 kB / 1.651 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/3.992, allocations: 117.5 kB / 1.651 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/3.993, allocations: 0.6888 MB / 1.652 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/3.995, allocations: 78.7 kB / 1.652 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/3.995, allocations: 25.08 kB / 1.652 GB, free: 199 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/3.995, allocations: 5.688 kB / 1.652 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002805/3.998, allocations: 0.5546 MB / 1.652 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/3.998, allocations: 1.969 kB / 1.652 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/3.998, allocations: 84.33 kB / 1.652 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/3.999, allocations: 118.3 kB / 1.653 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/4.001, allocations: 0.6821 MB / 1.653 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/4.002, allocations: 69.62 kB / 1.653 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/4.003, allocations: 37.06 kB / 1.653 GB, free: 198.4 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.0004122/4.003, allocations: 112 kB / 1.653 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/4.004, allocations: 89.38 kB / 1.653 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/4.008, allocations: 0.9599 MB / 1.654 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/4.008, allocations: 7.75 kB / 1.654 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/4.008, allocations: 1.312 kB / 1.654 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002337/4.011, allocations: 0.8149 MB / 1.655 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/4.016, allocations: 1.721 MB / 1.657 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/4.016, allocations: 0 / 1.657 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/4.017, allocations: 106 kB / 1.657 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000718/4.018, allocations: 142.1 kB / 1.657 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/4.018, allocations: 15.34 kB / 1.657 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/4.019, allocations: 1.273 MB / 1.658 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/4.019, allocations: 6.219 kB / 1.658 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004293/4.024, allocations: 1.225 MB / 1.66 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004853/4.029, allocations: 1.995 MB / 1.662 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/4.03, allocations: 269.1 kB / 1.662 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/4.03, allocations: 7.688 kB / 1.662 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/4.031, allocations: 54.77 kB / 1.662 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/4.031, allocations: 39.84 kB / 1.662 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/4.031, allocations: 34.62 kB / 1.662 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001667/4.033, allocations: 0.5019 MB / 1.662 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005618/4.039, allocations: 0.7867 MB / 1.663 GB, free: 195.2 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.002988/4.042, allocations: 0.8416 MB / 1.664 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003182/4.045, allocations: 0.881 MB / 1.665 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/4.045, allocations: 0 / 1.665 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/4.046, allocations: 351.6 kB / 1.665 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/4.05, allocations: 347.7 kB / 1.666 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/4.056, allocations: 1.613 MB / 1.667 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/4.057, allocations: 1.193 MB / 1.668 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.643e-06/4.057, allocations: 0 / 1.668 GB, free: 193.9 MB / 0.8698 GB