Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="cs",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(ModelicaTest): time 2.798/2.798, allocations: 235 MB / 242 MB, free: 7.051 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3169/3.115, allocations: 57.19 MB / 299.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/3.266, allocations: 54.87 MB / 354.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/3.676, allocations: 80.48 MB / 434.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/3.677, allocations: 73.03 kB / 434.6 MB, free: 7.484 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.04069/3.718, allocations: 5.664 MB / 440.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/3.718, allocations: 11.47 kB / 440.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/3.718, allocations: 7.75 kB / 440.3 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/3.718, allocations: 186 kB / 440.5 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/3.718, allocations: 3.844 kB / 440.5 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/3.718, allocations: 0 / 440.5 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001679/3.718, allocations: 28.88 kB / 440.5 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/3.719, allocations: 68 kB / 440.6 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/3.719, allocations: 7.891 kB / 440.6 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/3.719, allocations: 4 kB / 440.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/3.719, allocations: 0 / 440.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/3.719, allocations: 266.9 kB / 440.9 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/3.719, allocations: 47.12 kB / 440.9 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/3.72, allocations: 12.58 kB / 440.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/3.72, allocations: 3.688 kB / 440.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/3.72, allocations: 34.56 kB / 441 MB, free: 6.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.907e-06/3.72, allocations: 0 / 441 MB, free: 6.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001013/3.721, allocations: 129.2 kB / 441.1 MB, free: 6.164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/3.721, allocations: 77.11 kB / 441.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/3.721, allocations: 123.5 kB / 441.3 MB, free: 5.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/3.721, allocations: 29.7 kB / 441.3 MB, free: 5.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/3.721, allocations: 85.88 kB / 441.4 MB, free: 5.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/3.721, allocations: 29.2 kB / 441.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/3.721, allocations: 0 / 441.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/3.721, allocations: 321.3 kB / 441.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/3.721, allocations: 14.97 kB / 441.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/3.722, allocations: 34.36 kB / 441.8 MB, free: 5.504 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/3.722, allocations: 21.41 kB / 441.8 MB, free: 5.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/3.722, allocations: 4.031 kB / 441.8 MB, free: 5.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003678/3.722, allocations: 84.17 kB / 441.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/3.722, allocations: 7.5 kB / 441.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/3.722, allocations: 0 / 441.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/3.722, allocations: 0 / 441.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/3.723, allocations: 21.94 kB / 441.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/3.723, allocations: 0.75 kB / 441.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/3.723, allocations: 13.03 kB / 441.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/3.723, allocations: 8.219 kB / 441.9 MB, free: 5.453 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001085/3.723, allocations: 105.2 kB / 442 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/3.723, allocations: 8.297 kB / 442 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/3.724, allocations: 99.39 kB / 442.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/3.724, allocations: 3.938 kB / 442.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/3.724, allocations: 0.7031 kB / 442.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/3.724, allocations: 0.75 kB / 442.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/3.724, allocations: 343.6 kB / 442.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/3.725, allocations: 4 kB / 442.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/3.725, allocations: 18.52 kB / 442.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/3.725, allocations: 0 / 442.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/3.725, allocations: 8.406 kB / 442.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/3.725, allocations: 0 / 442.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/3.725, allocations: 4.844 kB / 442.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003597/3.725, allocations: 174.3 kB / 442.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005034/3.726, allocations: 0.5491 MB / 443.2 MB, free: 20.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/3.726, allocations: 85.2 kB / 443.3 MB, free: 20.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/3.726, allocations: 0.5625 kB / 443.3 MB, free: 20.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/3.726, allocations: 15.89 kB / 443.3 MB, free: 20.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/3.726, allocations: 8.078 kB / 443.3 MB, free: 20.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/3.726, allocations: 3.75 kB / 443.4 MB, free: 20.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001714/3.727, allocations: 101 kB / 443.5 MB, free: 20.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002627/3.729, allocations: 33.3 kB / 443.5 MB, free: 20.17 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00157/3.731, allocations: 312.1 kB / 443.8 MB, free: 19.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000431/3.731, allocations: 74.62 kB / 443.9 MB, free: 19.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/3.731, allocations: 1.406 kB / 443.9 MB, free: 19.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/3.732, allocations: 28.52 kB / 443.9 MB, free: 19.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/3.732, allocations: 11.47 kB / 443.9 MB, free: 19.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/3.733, allocations: 112.6 kB / 444 MB, free: 19.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/3.734, allocations: 0.7177 MB / 444.7 MB, free: 19.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.093e-06/3.734, allocations: 0 / 444.7 MB, free: 19.16 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat does not exist to compare? outputFormat=mat