Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_5_0_1_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.322/4.322, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3066/4.629, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/5.178, allocations: 92.68 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.052/11.23, allocations: 2.174 GB / 2.759 GB, free: 41.18 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004848/11.23, allocations: 81.64 kB / 2.759 GB, free: 41.14 MB / 0.7605 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 5.853/17.08, allocations: 1.031 GB / 3.79 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/17.08, allocations: 19.62 kB / 3.79 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007411/17.09, allocations: 0.5525 MB / 3.791 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/17.1, allocations: 1.389 MB / 3.792 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/17.1, allocations: 53.84 kB / 3.792 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006761/17.1, allocations: 89.62 kB / 3.792 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005667/17.1, allocations: 1.378 MB / 3.794 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005757/17.11, allocations: 1.596 MB / 3.795 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/17.11, allocations: 3.938 kB / 3.795 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003169/17.11, allocations: 0 / 3.795 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-05/17.11, allocations: 71.73 kB / 3.795 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/17.13, allocations: 7.574 MB / 3.803 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/17.13, allocations: 1.12 MB / 3.804 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/17.14, allocations: 0.6169 MB / 3.804 GB, free: 100.5 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008454/17.14, allocations: 0.6829 MB / 3.805 GB, free: 99.78 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/17.14, allocations: 0.8008 MB / 3.806 GB, free: 99.61 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=113): time 5.29e-06/17.14, allocations: 0 / 3.806 GB, free: 99.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=113): time 0.006001/17.14, allocations: 1.251 MB / 3.807 GB, free: 99.48 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/17.14, allocations: 435.3 kB / 3.807 GB, free: 98.98 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/17.15, allocations: 0.8918 MB / 3.808 GB, free: 98.82 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004591/17.15, allocations: 31.52 kB / 3.808 GB, free: 98.79 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007295/17.15, allocations: 0.5519 MB / 3.809 GB, free: 98.48 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008376/17.15, allocations: 381.9 kB / 3.809 GB, free: 98.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/17.15, allocations: 0 / 3.809 GB, free: 98.23 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001366/17.15, allocations: 346.1 kB / 3.81 GB, free: 97.92 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/17.15, allocations: 475.8 kB / 3.81 GB, free: 97.92 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/17.15, allocations: 0.7193 MB / 3.811 GB, free: 97.68 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/17.15, allocations: 0.5905 MB / 3.811 GB, free: 97.67 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/17.15, allocations: 2.5 kB / 3.811 GB, free: 97.67 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004665/17.16, allocations: 1.372 MB / 3.813 GB, free: 97.54 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000356/17.16, allocations: 1.41 MB / 3.814 GB, free: 96.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/17.16, allocations: 5.828 kB / 3.814 GB, free: 96.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.523e-05/17.16, allocations: 14.5 kB / 3.814 GB, free: 96.09 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/17.16, allocations: 266.3 kB / 3.814 GB, free: 96.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/17.16, allocations: 12.69 kB / 3.814 GB, free: 96.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/17.17, allocations: 165.6 kB / 3.814 GB, free: 96.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/17.17, allocations: 47.33 kB / 3.815 GB, free: 96.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/17.17, allocations: 4.75 kB / 3.815 GB, free: 96.04 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004163/17.17, allocations: 1.204 MB / 3.816 GB, free: 96.01 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/17.17, allocations: 7.625 kB / 3.816 GB, free: 96.01 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/17.17, allocations: 18.12 kB / 3.816 GB, free: 96 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/17.17, allocations: 248.9 kB / 3.816 GB, free: 96 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/17.17, allocations: 14.75 kB / 3.816 GB, free: 96 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/17.18, allocations: 136 kB / 3.816 GB, free: 95.96 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/17.18, allocations: 59.58 kB / 3.816 GB, free: 95.96 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005107/17.18, allocations: 132.7 kB / 3.816 GB, free: 95.85 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/17.18, allocations: 142.9 kB / 3.816 GB, free: 95.78 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/17.18, allocations: 1.248 MB / 3.818 GB, free: 95.7 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/17.18, allocations: 15.06 kB / 3.818 GB, free: 95.7 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/17.18, allocations: 3.969 kB / 3.818 GB, free: 95.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00301/17.19, allocations: 0.9718 MB / 3.819 GB, free: 95.61 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009219/17.2, allocations: 3.38 MB / 3.822 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/17.2, allocations: 3.688 kB / 3.822 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/17.2, allocations: 256.7 kB / 3.822 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-05/17.2, allocations: 7.25 kB / 3.822 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/17.2, allocations: 28.84 kB / 3.822 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/17.2, allocations: 10.16 kB / 3.822 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/17.2, allocations: 3.5 kB / 3.822 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005606/17.2, allocations: 2.113 MB / 3.824 GB, free: 94.34 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008205/17.21, allocations: 3.365 MB / 3.828 GB, free: 93.53 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/17.21, allocations: 386.2 kB / 3.828 GB, free: 93.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/17.22, allocations: 14.88 kB / 3.828 GB, free: 93.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002974/17.22, allocations: 112.9 kB / 3.828 GB, free: 93.34 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/17.22, allocations: 66.58 kB / 3.828 GB, free: 93.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/17.22, allocations: 41.64 kB / 3.828 GB, free: 93.34 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001603/17.22, allocations: 0.6897 MB / 3.829 GB, free: 93.23 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.009181/17.23, allocations: 1.795 MB / 3.831 GB, free: 93.07 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006279/17.24, allocations: 3.11 MB / 3.834 GB, free: 91.98 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005537/17.24, allocations: 1.909 MB / 3.835 GB, free: 91.89 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/17.24, allocations: 3.562 kB / 3.835 GB, free: 91.89 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/17.24, allocations: 0.5674 MB / 3.836 GB, free: 91.89 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008627/17.25, allocations: 0.6553 MB / 3.837 GB, free: 91.87 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/17.26, allocations: 2.877 MB / 3.839 GB, free: 91.2 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003935/17.27, allocations: 1.607 MB / 3.841 GB, free: 90.47 MB / 0.7917 GB Notification: Performance of SimCode: time 3.376e-06/17.27, allocations: 0 / 3.841 GB, free: 90.47 MB / 0.7917 GB