Running command: "" <> buildModelFMU(Buildings.Utilities.Reports.Examples.Printer,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Reports_Examples_Printer",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.501/4.501, allocations: 403.9 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2967/4.797, allocations: 95.01 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/5.351, allocations: 92.67 MB / 0.5846 GB, free: 3.449 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/5.615, allocations: 120.9 MB / 0.7027 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/5.615, allocations: 75.95 kB / 0.7028 GB, free: 12.73 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01918/5.635, allocations: 3.096 MB / 0.7058 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/5.635, allocations: 12 kB / 0.7058 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/5.635, allocations: 19.81 kB / 0.7058 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/5.635, allocations: 210.9 kB / 0.706 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/5.635, allocations: 0 / 0.706 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/5.635, allocations: 11.98 kB / 0.706 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002117/5.636, allocations: 32 kB / 0.706 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/5.636, allocations: 111.2 kB / 0.7062 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/5.636, allocations: 0 / 0.7062 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/5.636, allocations: 3.938 kB / 0.7062 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/5.636, allocations: 0 / 0.7062 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/5.637, allocations: 449.4 kB / 0.7066 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/5.638, allocations: 61.16 kB / 0.7066 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/5.638, allocations: 29.84 kB / 0.7067 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/5.638, allocations: 4 kB / 0.7067 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/5.638, allocations: 124.9 kB / 0.7068 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 4.057e-06/5.638, allocations: 0 / 0.7068 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004465/5.639, allocations: 97.42 kB / 0.7069 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/5.639, allocations: 81.2 kB / 0.707 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/5.639, allocations: 141.4 kB / 0.7071 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/5.639, allocations: 33.7 kB / 0.7071 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/5.639, allocations: 100.2 kB / 0.7072 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/5.639, allocations: 23.7 kB / 0.7073 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/5.639, allocations: 0 / 0.7073 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001582/5.64, allocations: 330.8 kB / 0.7076 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/5.64, allocations: 20 kB / 0.7076 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/5.64, allocations: 94.25 kB / 0.7077 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/5.64, allocations: 27.98 kB / 0.7077 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/5.64, allocations: 4 kB / 0.7077 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004218/5.64, allocations: 121.3 kB / 0.7078 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/5.64, allocations: 4 kB / 0.7078 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/5.64, allocations: 0 / 0.7078 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/5.641, allocations: 7.984 kB / 0.7078 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/5.641, allocations: 24.38 kB / 0.7079 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/5.641, allocations: 11.88 kB / 0.7079 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/5.641, allocations: 19.98 kB / 0.7079 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/5.641, allocations: 8 kB / 0.7079 GB, free: 7.152 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001801/5.641, allocations: 120.9 kB / 0.708 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/5.641, allocations: 15.81 kB / 0.708 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/5.642, allocations: 17.39 kB / 0.708 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/5.642, allocations: 4 kB / 0.708 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/5.642, allocations: 0 / 0.708 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/5.642, allocations: 0 / 0.708 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/5.643, allocations: 466.1 kB / 0.7085 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/5.643, allocations: 4 kB / 0.7085 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/5.643, allocations: 15.98 kB / 0.7085 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/5.643, allocations: 0 / 0.7085 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/5.643, allocations: 7.906 kB / 0.7085 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/5.643, allocations: 7.984 kB / 0.7085 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/5.643, allocations: 4 kB / 0.7085 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004344/5.643, allocations: 280.3 kB / 0.7088 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005286/5.644, allocations: 0.6492 MB / 0.7094 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/5.644, allocations: 92.86 kB / 0.7095 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/5.644, allocations: 4 kB / 0.7095 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/5.645, allocations: 31.97 kB / 0.7096 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/5.645, allocations: 15.83 kB / 0.7096 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/5.645, allocations: 4 kB / 0.7096 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001452/5.645, allocations: 120.3 kB / 0.7097 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001711/5.647, allocations: 51.97 kB / 0.7097 GB, free: 5.141 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006827/5.647, allocations: 203.3 kB / 0.7099 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003399/5.648, allocations: 67.88 kB / 0.71 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/5.648, allocations: 0 / 0.71 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/5.648, allocations: 39.92 kB / 0.71 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/5.648, allocations: 19.92 kB / 0.7101 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/5.649, allocations: 157.2 kB / 0.7102 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/5.65, allocations: 0.7354 MB / 0.7109 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of SimCode: time 1.123e-06/5.65, allocations: 0 / 0.7109 GB, free: 3.914 MB / 0.5886 GB