Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.255/4.255, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2534/4.508, allocations: 95 MB / 0.4941 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/5.054, allocations: 92.67 MB / 0.5846 GB, free: 3.438 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/10.87, allocations: 2.167 GB / 2.752 GB, free: 59.25 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/10.87, allocations: 83.7 kB / 2.752 GB, free: 59.2 MB / 0.7605 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 2.639/13.51, allocations: 461.8 MB / 3.203 GB, free: 171.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/13.51, allocations: 19.17 kB / 3.203 GB, free: 171.1 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/13.52, allocations: 327 kB / 3.203 GB, free: 171.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/13.52, allocations: 0.7998 MB / 3.204 GB, free: 170.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/13.52, allocations: 23.47 kB / 3.204 GB, free: 170.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/13.52, allocations: 42.94 kB / 3.204 GB, free: 170.9 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002381/13.52, allocations: 0.6721 MB / 3.205 GB, free: 170.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/13.52, allocations: 0.6816 MB / 3.206 GB, free: 170.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/13.52, allocations: 3.938 kB / 3.206 GB, free: 170.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/13.52, allocations: 0 / 3.206 GB, free: 170.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.572e-05/13.52, allocations: 54.67 kB / 3.206 GB, free: 170.8 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009054/13.53, allocations: 3.652 MB / 3.209 GB, free: 168.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/13.54, allocations: 0.6112 MB / 3.21 GB, free: 168.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009688/13.54, allocations: 332.1 kB / 3.21 GB, free: 168.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/13.54, allocations: 103.3 kB / 3.21 GB, free: 168 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009914/13.54, allocations: 360.7 kB / 3.211 GB, free: 167.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=58): time 3.947e-06/13.54, allocations: 3 kB / 3.211 GB, free: 167.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=58): time 0.002501/13.54, allocations: 0.6003 MB / 3.211 GB, free: 167.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/13.54, allocations: 62.28 kB / 3.211 GB, free: 167.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009019/13.54, allocations: 391.9 kB / 3.212 GB, free: 167.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/13.54, allocations: 29.2 kB / 3.212 GB, free: 167.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/13.54, allocations: 304.1 kB / 3.212 GB, free: 167.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/13.54, allocations: 201.1 kB / 3.212 GB, free: 166.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/13.54, allocations: 0 / 3.212 GB, free: 166.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001466/13.54, allocations: 369.6 kB / 3.212 GB, free: 166.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/13.54, allocations: 226.1 kB / 3.213 GB, free: 166.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007503/13.54, allocations: 331.9 kB / 3.213 GB, free: 166.3 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/13.54, allocations: 285.9 kB / 3.213 GB, free: 166.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/13.54, allocations: 2.844 kB / 3.213 GB, free: 166.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001997/13.55, allocations: 0.6462 MB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/13.55, allocations: 6.969 kB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/13.55, allocations: 3.906 kB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.941e-05/13.55, allocations: 7.906 kB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/13.55, allocations: 130.8 kB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/13.55, allocations: 7.344 kB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/13.55, allocations: 82.45 kB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/13.55, allocations: 29.7 kB / 3.214 GB, free: 165.9 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002583/13.55, allocations: 121.8 kB / 3.214 GB, free: 165.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/13.55, allocations: 64.84 kB / 3.214 GB, free: 165.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/13.55, allocations: 83.7 kB / 3.214 GB, free: 165.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/13.55, allocations: 7 kB / 3.214 GB, free: 165.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/13.55, allocations: 3.375 kB / 3.214 GB, free: 165.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/13.55, allocations: 0.6857 MB / 3.215 GB, free: 165.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/13.56, allocations: 1.524 MB / 3.217 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/13.56, allocations: 0 / 3.217 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/13.56, allocations: 141.7 kB / 3.217 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/13.56, allocations: 11.66 kB / 3.217 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.813e-05/13.56, allocations: 7.812 kB / 3.217 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/13.56, allocations: 7.609 kB / 3.217 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/13.56, allocations: 0 / 3.217 GB, free: 164.5 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00323/13.56, allocations: 1.069 MB / 3.218 GB, free: 164 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004937/13.57, allocations: 1.888 MB / 3.22 GB, free: 162.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000903/13.57, allocations: 222 kB / 3.22 GB, free: 162.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/13.57, allocations: 2.031 kB / 3.22 GB, free: 162.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/13.57, allocations: 62.77 kB / 3.22 GB, free: 162.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/13.57, allocations: 28.66 kB / 3.22 GB, free: 162.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/13.57, allocations: 23.88 kB / 3.22 GB, free: 162.7 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0007154/13.57, allocations: 311.8 kB / 3.22 GB, free: 162.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003427/13.57, allocations: 0.4887 MB / 3.221 GB, free: 162.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002948/13.58, allocations: 1.468 MB / 3.222 GB, free: 161.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001878/13.58, allocations: 0.5492 MB / 3.223 GB, free: 161.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/13.58, allocations: 1.094 kB / 3.223 GB, free: 161.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008784/13.58, allocations: 295.8 kB / 3.223 GB, free: 161.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/13.59, allocations: 420.2 kB / 3.223 GB, free: 161.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/13.59, allocations: 1.446 MB / 3.225 GB, free: 160.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/13.59, allocations: 1.135 MB / 3.226 GB, free: 159.9 MB / 0.7605 GB Notification: Performance of SimCode: time 1.262e-06/13.59, allocations: 0 / 3.226 GB, free: 159.9 MB / 0.7605 GB