Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",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(Modelica): time 2.454/2.454, allocations: 194.9 MB / 202.6 MB, free: 6.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2411/2.695, allocations: 46.82 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/2.838, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/3.267, allocations: 70.22 MB / 364.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/3.267, allocations: 66.06 kB / 364.2 MB, free: 7.09 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.02798/3.295, allocations: 3.561 MB / 367.7 MB, free: 6.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/3.296, allocations: 11.75 kB / 367.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/3.296, allocations: 1.266 kB / 367.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/3.296, allocations: 168 kB / 367.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/3.296, allocations: 0 / 367.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/3.296, allocations: 0 / 367.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.193e-05/3.296, allocations: 17.55 kB / 367.9 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.445e-05/3.296, allocations: 31.03 kB / 368 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/3.296, allocations: 7.922 kB / 368 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/3.296, allocations: 7.844 kB / 368 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/3.296, allocations: 0 / 368 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/3.296, allocations: 136 kB / 368.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.729e-05/3.297, allocations: 26.11 kB / 368.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/3.297, allocations: 8.734 kB / 368.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/3.297, allocations: 0 / 368.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/3.297, allocations: 35.33 kB / 368.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/3.297, allocations: 3.938 kB / 368.2 MB, free: 6.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002081/3.297, allocations: 40.28 kB / 368.2 MB, free: 6.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/3.297, allocations: 59.31 kB / 368.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/3.297, allocations: 93.94 kB / 368.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/3.297, allocations: 25.7 kB / 368.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/3.297, allocations: 80.14 kB / 368.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/3.297, allocations: 16.59 kB / 368.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/3.297, allocations: 0 / 368.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/3.297, allocations: 316.3 kB / 368.8 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/3.297, allocations: 7.281 kB / 368.8 MB, free: 5.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/3.297, allocations: 21.75 kB / 368.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/3.297, allocations: 5.406 kB / 368.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/3.298, allocations: 0 / 368.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000191/3.298, allocations: 52.06 kB / 368.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/3.298, allocations: 7.812 kB / 368.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/3.298, allocations: 0 / 368.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/3.298, allocations: 0 / 368.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/3.298, allocations: 9.094 kB / 368.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/3.298, allocations: 128 / 368.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/3.298, allocations: 13.06 kB / 368.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/3.298, allocations: 3.875 kB / 368.9 MB, free: 5.355 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.000142/3.298, allocations: 112.1 kB / 369 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/3.298, allocations: 3.906 kB / 369 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/3.298, allocations: 8.969 kB / 369 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/3.298, allocations: 0 / 369 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/3.298, allocations: 0 / 369 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/3.298, allocations: 0 / 369 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/3.299, allocations: 133.6 kB / 369.2 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/3.299, allocations: 7.938 kB / 369.2 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/3.299, allocations: 9.156 kB / 369.2 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/3.299, allocations: 0 / 369.2 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/3.299, allocations: 3.906 kB / 369.2 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/3.299, allocations: 0 / 369.2 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/3.299, allocations: 0 / 369.2 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002402/3.299, allocations: 76.17 kB / 369.3 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004322/3.3, allocations: 477.1 kB / 369.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/3.3, allocations: 81.38 kB / 369.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/3.3, allocations: 0 / 369.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/3.3, allocations: 0 / 369.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/3.3, allocations: 5.172 kB / 369.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/3.3, allocations: 0 / 369.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.091e-05/3.3, allocations: 78.94 kB / 369.9 MB, free: 20.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002677/3.303, allocations: 73.08 kB / 370 MB, free: 20.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007653/3.304, allocations: 178.1 kB / 370.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/3.304, allocations: 19.02 kB / 370.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/3.304, allocations: 0 / 370.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/3.304, allocations: 5.078 kB / 370.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/3.304, allocations: 3.75 kB / 370.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/3.305, allocations: 82.61 kB / 370.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/3.305, allocations: 0.6972 MB / 371 MB, free: 19.46 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/3.305, allocations: 0 / 371 MB, free: 19.46 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat