Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test12",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 loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.261/2.18, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/2.313, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3246/2.638, allocations: 76.02 MB / 392 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/2.638, allocations: 72.02 kB / 392.1 MB, free: 0.625 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.02067/2.659, allocations: 3.333 MB / 395.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/2.659, allocations: 12 kB / 395.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/2.659, allocations: 11.81 kB / 395.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/2.66, allocations: 202.4 kB / 395.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/2.66, allocations: 4 kB / 395.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/2.66, allocations: 7.938 kB / 395.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/2.66, allocations: 31.05 kB / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/2.66, allocations: 59.17 kB / 395.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/2.66, allocations: 3.984 kB / 395.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/2.66, allocations: 8 kB / 395.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/2.66, allocations: 0 / 395.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/2.661, allocations: 326 kB / 396.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/2.661, allocations: 66.94 kB / 396.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/2.661, allocations: 20.61 kB / 396.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/2.661, allocations: 3.75 kB / 396.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/2.661, allocations: 61.77 kB / 396.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/2.661, allocations: 0 / 396.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002815/2.662, allocations: 84.73 kB / 396.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/2.662, allocations: 58.34 kB / 396.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/2.662, allocations: 142.3 kB / 396.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/2.662, allocations: 32.7 kB / 396.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/2.662, allocations: 99.16 kB / 396.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/2.662, allocations: 21.47 kB / 396.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/2.662, allocations: 0 / 396.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/2.662, allocations: 326.1 kB / 397 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/2.662, allocations: 22.86 kB / 397 MB, free: 12.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/2.662, allocations: 40.16 kB / 397 MB, free: 12.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/2.663, allocations: 34.78 kB / 397.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/2.663, allocations: 0 / 397.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003362/2.663, allocations: 107.9 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/2.663, allocations: 4 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/2.663, allocations: 3.906 kB / 397.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/2.663, allocations: 4 kB / 397.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/2.663, allocations: 20.02 kB / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/2.663, allocations: 0 / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/2.663, allocations: 11.94 kB / 397.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/2.663, allocations: 4 kB / 397.2 MB, free: 11.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001045/2.664, allocations: 112.1 kB / 397.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/2.664, allocations: 7.906 kB / 397.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/2.664, allocations: 93.03 kB / 397.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/2.664, allocations: 8 kB / 397.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/2.664, allocations: 4 kB / 397.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/2.664, allocations: 3.906 kB / 397.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/2.664, allocations: 173 kB / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/2.664, allocations: 0 / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/2.664, allocations: 11.98 kB / 397.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/2.664, allocations: 7.938 kB / 397.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/2.664, allocations: 3.188 kB / 397.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/2.664, allocations: 0 / 397.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/2.664, allocations: 7.844 kB / 397.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003206/2.665, allocations: 131.1 kB / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005751/2.665, allocations: 0.5348 MB / 398.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/2.665, allocations: 92.55 kB / 398.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/2.665, allocations: 0 / 398.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/2.666, allocations: 12.12 kB / 398.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/2.666, allocations: 4.219 kB / 398.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/2.666, allocations: 4.188 kB / 398.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.00016/2.666, allocations: 121.6 kB / 398.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001239/2.667, allocations: 43.22 kB / 398.6 MB, free: 10.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007364/2.668, allocations: 256.5 kB / 398.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/2.668, allocations: 93.38 kB / 398.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/2.668, allocations: 0 / 398.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/2.668, allocations: 19.94 kB / 398.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/2.669, allocations: 27.94 kB / 399 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/2.669, allocations: 155.9 kB / 399.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/2.67, allocations: 0.7268 MB / 399.8 MB, free: 9.352 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/2.67, allocations: 0 / 399.8 MB, free: 9.352 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat