Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_SignConvention",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 1.759/1.759, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2064/1.965, allocations: 46.82 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/2.057, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/2.34, allocations: 70.44 MB / 364.4 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/2.34, allocations: 70.06 kB / 364.4 MB, free: 7.168 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0119/2.352, allocations: 2.934 MB / 367.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/2.352, allocations: 7.688 kB / 367.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/2.352, allocations: 28.52 kB / 367.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/2.352, allocations: 218.2 kB / 367.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/2.352, allocations: 7.969 kB / 367.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/2.352, allocations: 11.59 kB / 367.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002816/2.353, allocations: 85.25 kB / 367.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/2.353, allocations: 156.1 kB / 367.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/2.353, allocations: 0 / 367.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/2.353, allocations: 3.984 kB / 367.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/2.353, allocations: 3.875 kB / 367.9 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/2.355, allocations: 0.7189 MB / 368.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/2.355, allocations: 113.9 kB / 368.7 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/2.355, allocations: 37.56 kB / 368.7 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/2.355, allocations: 3.906 kB / 368.7 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/2.355, allocations: 39.11 kB / 368.8 MB, free: 5.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/2.355, allocations: 0 / 368.8 MB, free: 5.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000342/2.355, allocations: 97.08 kB / 368.9 MB, free: 5.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/2.355, allocations: 110.7 kB / 369 MB, free: 5.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/2.356, allocations: 135.3 kB / 369.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/2.356, allocations: 29.58 kB / 369.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/2.356, allocations: 138 kB / 369.3 MB, free: 5.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/2.356, allocations: 51.97 kB / 369.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/2.356, allocations: 0 / 369.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/2.356, allocations: 322.6 kB / 369.6 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/2.356, allocations: 36.44 kB / 369.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/2.356, allocations: 119.7 kB / 369.8 MB, free: 20.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/2.356, allocations: 50.81 kB / 369.8 MB, free: 20.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/2.356, allocations: 3.875 kB / 369.8 MB, free: 20.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004266/2.357, allocations: 178.2 kB / 370 MB, free: 20.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/2.357, allocations: 3.844 kB / 370 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.357, allocations: 4.016 kB / 370 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/2.357, allocations: 7.672 kB / 370 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/2.357, allocations: 49.23 kB / 370.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/2.357, allocations: 3.875 kB / 370.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/2.357, allocations: 19.81 kB / 370.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/2.357, allocations: 14.88 kB / 370.1 MB, free: 20.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001088/2.358, allocations: 119.4 kB / 370.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/2.358, allocations: 11.69 kB / 370.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/2.358, allocations: 16.92 kB / 370.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/2.358, allocations: 3.875 kB / 370.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/2.358, allocations: 0 / 370.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/2.358, allocations: 1.219 kB / 370.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/2.359, allocations: 208.5 kB / 370.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.359, allocations: 3.938 kB / 370.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/2.359, allocations: 43.62 kB / 370.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/2.359, allocations: 0 / 370.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/2.359, allocations: 0 / 370.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/2.359, allocations: 3.906 kB / 370.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.359, allocations: 0 / 370.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004216/2.359, allocations: 412 kB / 370.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005923/2.36, allocations: 0.7936 MB / 371.7 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/2.36, allocations: 94.02 kB / 371.8 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/2.36, allocations: 0 / 371.8 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/2.36, allocations: 0 / 371.8 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/2.36, allocations: 7.203 kB / 371.8 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/2.36, allocations: 7.062 kB / 371.8 MB, free: 19.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001098/2.361, allocations: 110.4 kB / 371.9 MB, free: 19.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00147/2.362, allocations: 42.53 kB / 372 MB, free: 19.15 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001556/2.362, allocations: 111.7 kB / 372.1 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/2.363, allocations: 90.75 kB / 372.2 MB, free: 19.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.363, allocations: 0 / 372.2 MB, free: 19.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/2.363, allocations: 38.61 kB / 372.2 MB, free: 19.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/2.363, allocations: 21.27 kB / 372.2 MB, free: 19.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/2.364, allocations: 0.5397 MB / 372.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/2.365, allocations: 0.7589 MB / 373.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/2.365, allocations: 0 / 373.5 MB, free: 17.94 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat