Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test47",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.92/1.92, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2711/2.191, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/2.31, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/2.635, allocations: 75.26 MB / 391.3 MB, free: 1.457 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/2.636, allocations: 74.36 kB / 391.3 MB, free: 1.422 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02711/2.663, allocations: 4.38 MB / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/2.663, allocations: 8 kB / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.166e-05/2.663, allocations: 11.81 kB / 395.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/2.664, allocations: 209.3 kB / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/2.664, allocations: 0 / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/2.664, allocations: 7.906 kB / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001915/2.664, allocations: 18.42 kB / 396 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/2.664, allocations: 51.69 kB / 396 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/2.664, allocations: 0 / 396 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/2.664, allocations: 0 / 396 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/2.664, allocations: 0 / 396 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/2.666, allocations: 286.8 kB / 396.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/2.666, allocations: 36.27 kB / 396.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/2.666, allocations: 8.859 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/2.666, allocations: 4 kB / 396.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/2.666, allocations: 58.19 kB / 396.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/2.666, allocations: 0 / 396.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005017/2.667, allocations: 111.8 kB / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/2.667, allocations: 51.41 kB / 396.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/2.667, allocations: 220 kB / 396.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/2.667, allocations: 25.7 kB / 396.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/2.667, allocations: 99.31 kB / 396.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/2.667, allocations: 11.81 kB / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/2.667, allocations: 0 / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/2.667, allocations: 326.3 kB / 397.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/2.668, allocations: 23.38 kB / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-05/2.668, allocations: 23.12 kB / 397.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/2.668, allocations: 22.3 kB / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/2.668, allocations: 0 / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003365/2.668, allocations: 100.4 kB / 397.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/2.668, allocations: 8 kB / 397.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/2.668, allocations: 0 / 397.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/2.668, allocations: 0 / 397.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/2.668, allocations: 15.44 kB / 397.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/2.668, allocations: 0 / 397.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/2.669, allocations: 4 kB / 397.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/2.669, allocations: 4.047 kB / 397.4 MB, free: 11.92 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 (7): * Single equations (assignments): 6 * 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.0001757/2.669, allocations: 116.9 kB / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/2.669, allocations: 11.81 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/2.669, allocations: 95.41 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/2.669, allocations: 0 / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.669, allocations: 0 / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.669, allocations: 0 / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/2.67, allocations: 348.5 kB / 398 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/2.67, allocations: 3.984 kB / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/2.67, allocations: 4 kB / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/2.67, allocations: 4 kB / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/2.67, allocations: 4 kB / 398 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/2.67, allocations: 0 / 398 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/2.67, allocations: 192 / 398 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000243/2.67, allocations: 178.7 kB / 398.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003978/2.671, allocations: 0.5407 MB / 398.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/2.671, allocations: 104.7 kB / 398.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/2.671, allocations: 0 / 398.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/2.671, allocations: 4 kB / 398.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/2.671, allocations: 96 / 398.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/2.671, allocations: 7.938 kB / 398.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000308/2.671, allocations: 174.6 kB / 399 MB, free: 10.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001372/2.673, allocations: 50.83 kB / 399 MB, free: 10.29 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 (6): * Single equations (assignments): 5 * 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.0008052/2.674, allocations: 276.7 kB / 399.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002433/2.674, allocations: 75.62 kB / 399.4 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.674, allocations: 0 / 399.4 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/2.674, allocations: 23.56 kB / 399.4 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/2.674, allocations: 19.61 kB / 399.4 MB, free: 9.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/2.675, allocations: 192.2 kB / 399.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/2.675, allocations: 0.7339 MB / 400.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/2.675, allocations: 0 / 400.3 MB, free: 9.004 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat