Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic",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.727/1.727, allocations: 171.2 MB / 178.1 MB, free: 8.312 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2094/1.937, allocations: 41.11 MB / 219.3 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/2.038, allocations: 38.76 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/2.364, allocations: 97.65 MB / 355.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/2.364, allocations: 82.77 kB / 355.7 MB, free: 6.723 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: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 1.061/3.425, allocations: 185 MB / 0.5281 GB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/3.425, allocations: 16 kB / 0.5281 GB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4273/3.852, allocations: 16.21 MB / 0.544 GB, free: 59.83 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06012/3.912, allocations: 14.75 MB / 0.5584 GB, free: 59.16 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008444/3.913, allocations: 272.6 kB / 0.5586 GB, free: 59.16 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005842/3.919, allocations: 0.518 MB / 0.5591 GB, free: 59.14 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04412/3.963, allocations: 12.22 MB / 0.5711 GB, free: 59.1 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06159/4.025, allocations: 17.02 MB / 0.5877 GB, free: 55.49 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009472/4.026, allocations: 112.4 kB / 0.5878 GB, free: 55.48 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004407/4.03, allocations: 40.41 kB / 0.5878 GB, free: 55.48 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003992/4.034, allocations: 1.74 MB / 0.5895 GB, free: 55.46 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3346/4.369, allocations: 81.08 MB / 0.6687 GB, free: 39.34 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/4.382, allocations: 5.59 MB / 0.6742 GB, free: 38.68 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01439/4.396, allocations: 4.642 MB / 0.6787 GB, free: 38.63 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04656/4.443, allocations: 16.28 MB / 0.6946 GB, free: 33.36 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.989e-05/4.443, allocations: 69.06 kB / 0.6947 GB, free: 33.32 MB / 362.8 MB Notification: Performance of pre-optimization done (n=308): time 7.995e-06/4.443, allocations: 0 / 0.6947 GB, free: 33.32 MB / 362.8 MB Notification: Performance of matching and sorting (n=409): time 0.2295/4.672, allocations: 35.25 MB / 0.7291 GB, free: 28.41 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/4.673, allocations: 409.6 kB / 0.7295 GB, free: 27.97 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02534/4.698, allocations: 6.017 MB / 0.7354 GB, free: 25.79 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001067/4.699, allocations: 29.55 kB / 0.7354 GB, free: 25.76 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005227/4.704, allocations: 4.917 MB / 0.7402 GB, free: 22.1 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003202/4.708, allocations: 1.436 MB / 0.7416 GB, free: 21.02 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/4.709, allocations: 0 / 0.7416 GB, free: 21.02 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.001173/4.711, allocations: 0.7006 MB / 0.7423 GB, free: 20.54 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01272/4.723, allocations: 4.091 MB / 0.7463 GB, free: 18.95 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0232/4.747, allocations: 9.189 MB / 0.7552 GB, free: 10.51 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01925/4.766, allocations: 6.123 MB / 0.7612 GB, free: 7.305 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004762/4.766, allocations: 48 kB / 0.7613 GB, free: 7.258 MB / 362.8 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1055/4.872, allocations: 16.57 MB / 0.7774 GB, free: 11.91 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/4.872, allocations: 7.906 kB / 0.7774 GB, free: 11.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005339/4.873, allocations: 176 kB / 0.7776 GB, free: 11.73 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04641/4.919, allocations: 4.453 MB / 0.782 GB, free: 8.398 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02323/4.942, allocations: 1.987 MB / 0.7839 GB, free: 6.641 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0827/5.025, allocations: 22.34 MB / 0.8057 GB, free: 3.695 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/5.039, allocations: 313.9 kB / 0.806 GB, free: 3.434 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003798/5.043, allocations: 0.5234 MB / 0.8065 GB, free: 2.914 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 815 * Number of states: 0 () * Number of discrete variables: 70 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1081 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006374/5.05, allocations: 0.5686 MB / 0.8071 GB, free: 2.348 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004273/5.054, allocations: 0.6787 MB / 0.8078 GB, free: 1.66 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2423/5.296, allocations: 11.12 MB / 0.8186 GB, free: 95.31 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001402/5.297, allocations: 36.44 kB / 0.8186 GB, free: 95.31 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/5.297, allocations: 24.16 kB / 0.8187 GB, free: 95.31 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.869e-05/5.297, allocations: 20.25 kB / 0.8187 GB, free: 95.31 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08522/5.382, allocations: 21.92 MB / 0.8401 GB, free: 94.17 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.706e-05/5.382, allocations: 11.12 kB / 0.8401 GB, free: 94.17 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005507/5.388, allocations: 0.4979 MB / 0.8406 GB, free: 94.17 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02765/5.415, allocations: 3.98 MB / 0.8445 GB, free: 94.15 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/5.416, allocations: 16.53 kB / 0.8445 GB, free: 94.15 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06051/5.477, allocations: 19.4 MB / 0.8634 GB, free: 92.13 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-05/5.477, allocations: 14.16 kB / 0.8635 GB, free: 92.13 MB / 394.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05978/5.537, allocations: 17.4 MB / 0.8804 GB, free: 84.57 MB / 394.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08274/5.62, allocations: 22.96 MB / 0.9029 GB, free: 74.38 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008114/5.628, allocations: 1.336 MB / 0.9042 GB, free: 73.63 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004456/5.632, allocations: 24.75 kB / 0.9042 GB, free: 73.62 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01171/5.644, allocations: 129.6 kB / 0.9043 GB, free: 73.62 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00228/5.646, allocations: 205.3 kB / 0.9045 GB, free: 73.59 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001522/5.648, allocations: 108.4 kB / 0.9046 GB, free: 73.57 MB / 394.8 MB Notification: Performance of sort global known variables: time 0.01803/5.666, allocations: 4.223 MB / 0.9087 GB, free: 70.02 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.02378/5.69, allocations: 1.878 MB / 0.9106 GB, free: 68.16 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 281 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002156/5.692, allocations: 205.4 kB / 0.9108 GB, free: 68.01 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.03393/5.726, allocations: 10.01 MB / 0.9206 GB, free: 59.25 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.179e-05/5.726, allocations: 0 / 0.9206 GB, free: 59.25 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01548/5.742, allocations: 4.113 MB / 0.9246 GB, free: 55.54 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01346/5.755, allocations: 0.8817 MB / 0.9254 GB, free: 54.83 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08412/5.839, allocations: 18.09 MB / 0.9431 GB, free: 38.89 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02872/5.868, allocations: 6.982 MB / 0.9499 GB, free: 33.7 MB / 394.8 MB Notification: Performance of SimCode: time 2.164e-06/5.868, allocations: 0 / 0.9499 GB, free: 33.7 MB / 394.8 MB