Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.996/1.996, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2325/2.228, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/2.364, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/2.714, allocations: 72.79 MB / 388.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/2.714, allocations: 71.06 kB / 388.8 MB, free: 3.809 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.008587/2.723, allocations: 1.995 MB / 390.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.723, allocations: 12 kB / 390.8 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/2.723, allocations: 15.75 kB / 390.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/2.723, allocations: 167 kB / 391 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/2.723, allocations: 4 kB / 391 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/2.723, allocations: 15.16 kB / 391 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002004/2.723, allocations: 50.39 kB / 391.1 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/2.724, allocations: 118.3 kB / 391.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/2.724, allocations: 0 / 391.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/2.724, allocations: 0 / 391.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/2.724, allocations: 4.812 kB / 391.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/2.725, allocations: 0.508 MB / 391.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/2.725, allocations: 74.03 kB / 391.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/2.725, allocations: 23.91 kB / 391.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/2.725, allocations: 4 kB / 391.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/2.725, allocations: 38.5 kB / 391.8 MB, free: 1.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/2.725, allocations: 0 / 391.8 MB, free: 1.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000457/2.726, allocations: 99.66 kB / 391.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/2.726, allocations: 81.02 kB / 392 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/2.726, allocations: 114.9 kB / 392.1 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/2.726, allocations: 29.7 kB / 392.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/2.726, allocations: 118.3 kB / 392.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/2.726, allocations: 34.89 kB / 392.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/2.726, allocations: 0 / 392.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/2.726, allocations: 314.3 kB / 392.6 MB, free: 296 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/2.726, allocations: 22.06 kB / 392.6 MB, free: 284 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/2.726, allocations: 86.77 kB / 392.7 MB, free: 176 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/2.726, allocations: 27.61 kB / 392.8 MB, free: 156 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.726, allocations: 0 / 392.8 MB, free: 156 kB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004165/2.727, allocations: 151.7 kB / 392.9 MB, free: 12 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/2.727, allocations: 4 kB / 392.9 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/2.727, allocations: 4 kB / 392.9 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/2.727, allocations: 36.64 kB / 392.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/2.727, allocations: 37.83 kB / 393 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/2.73, allocations: 2.407 MB / 395.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/2.73, allocations: 16.06 kB / 395.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/2.73, allocations: 4 kB / 395.4 MB, free: 13.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/2.73, allocations: 108.9 kB / 395.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/2.73, allocations: 7.906 kB / 395.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/2.73, allocations: 8.25 kB / 395.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/2.73, allocations: 4 kB / 395.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/2.73, allocations: 4 kB / 395.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/2.73, allocations: 0 / 395.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/2.731, allocations: 174.9 kB / 395.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/2.731, allocations: 0 / 395.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/2.731, allocations: 26.89 kB / 395.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/2.731, allocations: 28.64 kB / 395.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/2.731, allocations: 5.859 kB / 395.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/2.733, allocations: 2.408 MB / 398.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/2.734, allocations: 7.844 kB / 398.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006312/2.734, allocations: 305.1 kB / 398.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009242/2.735, allocations: 0.6955 MB / 399.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/2.735, allocations: 89.02 kB / 399.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/2.735, allocations: 0 / 399.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/2.736, allocations: 4 kB / 399.3 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/2.736, allocations: 7.984 kB / 399.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/2.736, allocations: 3.938 kB / 399.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001129/2.736, allocations: 94.28 kB / 399.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002766/2.739, allocations: 35.84 kB / 399.4 MB, free: 9.133 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003355/2.739, allocations: 103.2 kB / 399.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000895/2.74, allocations: 268.5 kB / 399.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/2.74, allocations: 0 / 399.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/2.741, allocations: 231 kB / 400 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/2.741, allocations: 23.67 kB / 400 MB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/2.743, allocations: 380.6 kB / 400.4 MB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/2.744, allocations: 0.7271 MB / 401.1 MB, free: 7.367 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/2.744, allocations: 3.938 kB / 401.1 MB, free: 7.363 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat