Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Brake,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Brake",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(Modelica): time 1.71/1.71, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1795/1.889, allocations: 41.09 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/2.003, allocations: 38.77 MB / 258 MB, free: 4.348 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3144/2.318, allocations: 67.41 MB / 325.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/2.318, allocations: 62.28 kB / 325.5 MB, free: 4.648 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.04117/2.359, allocations: 5.765 MB / 331.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/2.359, allocations: 12 kB / 331.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/2.36, allocations: 35.31 kB / 331.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/2.36, allocations: 273.1 kB / 331.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/2.361, allocations: 12 kB / 331.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/2.361, allocations: 19.91 kB / 331.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001762/2.363, allocations: 369.4 kB / 331.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/2.364, allocations: 331.7 kB / 332.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/2.364, allocations: 0 / 332.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/2.364, allocations: 0 / 332.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/2.364, allocations: 8 kB / 332.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/2.37, allocations: 1.077 MB / 333.4 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/2.371, allocations: 251.7 kB / 333.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/2.372, allocations: 177.2 kB / 333.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.228e-05/2.372, allocations: 8 kB / 333.8 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/2.372, allocations: 34 kB / 333.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 4.979e-06/2.372, allocations: 0 / 333.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.009215/2.381, allocations: 1.514 MB / 335.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/2.381, allocations: 59.34 kB / 335.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/2.382, allocations: 188.5 kB / 335.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002414/2.382, allocations: 36.81 kB / 335.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/2.382, allocations: 139.5 kB / 335.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/2.383, allocations: 146.3 kB / 335.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/2.383, allocations: 0 / 335.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002656/2.383, allocations: 345.8 kB / 336.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008712/2.384, allocations: 187 kB / 336.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009651/2.385, allocations: 257.2 kB / 336.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/2.386, allocations: 159.2 kB / 336.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/2.386, allocations: 0 / 336.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00468/2.391, allocations: 0.7289 MB / 337.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/2.391, allocations: 7.938 kB / 337.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/2.391, allocations: 0 / 337.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002269/2.393, allocations: 490 kB / 338 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/2.394, allocations: 75.02 kB / 338.1 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/2.398, allocations: 1.433 MB / 339.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/2.399, allocations: 95.97 kB / 339.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/2.4, allocations: 27.61 kB / 339.7 MB, free: 8.27 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004577/2.4, allocations: 137.4 kB / 339.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/2.4, allocations: 23.72 kB / 339.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/2.401, allocations: 43.33 kB / 339.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/2.401, allocations: 7.906 kB / 339.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/2.401, allocations: 0 / 339.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/2.401, allocations: 0 / 339.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008091/2.409, allocations: 1.387 MB / 341.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/2.409, allocations: 0 / 341.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/2.41, allocations: 59.59 kB / 341.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/2.412, allocations: 465.3 kB / 341.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/2.412, allocations: 19.81 kB / 341.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/2.416, allocations: 1.366 MB / 343.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/2.416, allocations: 7.938 kB / 343.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005034/2.421, allocations: 1.035 MB / 344.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006457/2.427, allocations: 1.647 MB / 345.8 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/2.428, allocations: 154.2 kB / 346 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/2.428, allocations: 7.75 kB / 346 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/2.429, allocations: 51.95 kB / 346 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006629/2.43, allocations: 98.06 kB / 346.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/2.43, allocations: 27.73 kB / 346.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0003749/2.431, allocations: 145.7 kB / 346.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003191/2.434, allocations: 91.98 kB / 346.4 MB, free: 2.297 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006624/2.435, allocations: 143 kB / 346.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002126/2.437, allocations: 449.3 kB / 347 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/2.437, allocations: 4.125 kB / 347 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009317/2.438, allocations: 255.2 kB / 347.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/2.438, allocations: 38.64 kB / 347.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/2.441, allocations: 0.7041 MB / 348 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/2.442, allocations: 0.8261 MB / 348.8 MB, free: 136 kB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/2.442, allocations: 0 / 348.8 MB, free: 136 kB / 282.7 MB