Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test65",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 2.052/2.052, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2658/2.318, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/2.437, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/2.761, allocations: 75.05 MB / 391 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/2.761, allocations: 79.78 kB / 391.1 MB, free: 1.578 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.02249/2.784, allocations: 3.9 MB / 395 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/2.784, allocations: 11.98 kB / 395 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/2.784, allocations: 7.906 kB / 395 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/2.785, allocations: 205.5 kB / 395.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/2.785, allocations: 3.984 kB / 395.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/2.785, allocations: 8 kB / 395.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001282/2.785, allocations: 8 kB / 395.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/2.785, allocations: 44.78 kB / 395.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/2.785, allocations: 0 / 395.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/2.785, allocations: 0 / 395.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/2.785, allocations: 0 / 395.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/2.786, allocations: 165.5 kB / 395.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/2.786, allocations: 25.7 kB / 395.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/2.786, allocations: 16.36 kB / 395.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/2.786, allocations: 0 / 395.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/2.786, allocations: 62.75 kB / 395.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.266e-06/2.786, allocations: 0 / 395.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003465/2.787, allocations: 53.53 kB / 395.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/2.787, allocations: 55.41 kB / 395.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/2.787, allocations: 174.4 kB / 395.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/2.787, allocations: 33.7 kB / 395.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/2.787, allocations: 91.06 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/2.787, allocations: 7.156 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/2.787, allocations: 0 / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/2.787, allocations: 322.1 kB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/2.788, allocations: 15.12 kB / 396.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/2.788, allocations: 19.38 kB / 396.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/2.788, allocations: 18.42 kB / 396.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/2.788, allocations: 0 / 396.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004118/2.788, allocations: 90.75 kB / 396.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/2.788, allocations: 4 kB / 396.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/2.788, allocations: 0 / 396.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/2.788, allocations: 7.984 kB / 396.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/2.789, allocations: 4 kB / 396.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/2.789, allocations: 0 / 396.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/2.789, allocations: 11.84 kB / 396.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/2.789, allocations: 0 / 396.5 MB, free: 12.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * 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.0001439/2.789, allocations: 109 kB / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/2.789, allocations: 11.91 kB / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/2.789, allocations: 76.17 kB / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/2.789, allocations: 0 / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/2.789, allocations: 3.906 kB / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/2.789, allocations: 0 / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/2.79, allocations: 168.6 kB / 396.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/2.79, allocations: 0 / 396.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/2.79, allocations: 4 kB / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/2.79, allocations: 0 / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/2.79, allocations: 0 / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/2.79, allocations: 8 kB / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/2.79, allocations: 0 / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003065/2.79, allocations: 87.86 kB / 396.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000421/2.791, allocations: 468.1 kB / 397.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/2.791, allocations: 93 kB / 397.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/2.791, allocations: 4 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/2.791, allocations: 4 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/2.791, allocations: 0 / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/2.791, allocations: 0 / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003065/2.791, allocations: 143.4 kB / 397.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002158/2.794, allocations: 30.89 kB / 397.6 MB, free: 11.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (4): * Single equations (assignments): 3 * 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.0009137/2.795, allocations: 264.3 kB / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/2.795, allocations: 67.81 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.795, allocations: 0 / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/2.795, allocations: 11.44 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/2.795, allocations: 15.3 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/2.796, allocations: 134.1 kB / 398.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/2.797, allocations: 0.718 MB / 398.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of SimCode: time 7.744e-06/2.797, allocations: 0 / 398.8 MB, free: 10.31 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat