Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_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.639/1.639, allocations: 171.2 MB / 178.1 MB, free: 8.336 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2323/1.872, allocations: 41.12 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/1.959, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/2.257, allocations: 91.54 MB / 349.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/2.258, allocations: 82.45 kB / 349.6 MB, free: 12.72 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: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.6125/2.87, allocations: 111.5 MB / 461.2 MB, free: 72.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/2.87, allocations: 15.28 kB / 461.2 MB, free: 72.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04752/2.918, allocations: 6.488 MB / 467.7 MB, free: 71.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02744/2.945, allocations: 6.828 MB / 474.5 MB, free: 69.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/2.946, allocations: 169.6 kB / 474.7 MB, free: 69.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/2.948, allocations: 311.1 kB / 475 MB, free: 69.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02184/2.97, allocations: 7.724 MB / 482.7 MB, free: 65.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/2.998, allocations: 10.86 MB / 493.6 MB, free: 53.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/2.999, allocations: 67.45 kB / 493.6 MB, free: 53.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/3, allocations: 31.94 kB / 493.7 MB, free: 53.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/3.002, allocations: 1.117 MB / 494.8 MB, free: 52.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07911/3.081, allocations: 49.4 MB / 0.5314 GB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1366/3.218, allocations: 3.051 MB / 0.5344 GB, free: 103.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/3.222, allocations: 1.984 MB / 0.5363 GB, free: 103.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/3.24, allocations: 7.829 MB / 0.544 GB, free: 101.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/3.24, allocations: 56.19 kB / 0.544 GB, free: 101.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 4.949e-06/3.24, allocations: 0 / 0.544 GB, free: 101.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=227): time 0.09167/3.332, allocations: 15.88 MB / 0.5596 GB, free: 98.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/3.332, allocations: 203.5 kB / 0.5597 GB, free: 98.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/3.343, allocations: 3.509 MB / 0.5632 GB, free: 98.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005779/3.343, allocations: 29.05 kB / 0.5632 GB, free: 98.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003697/3.347, allocations: 3.269 MB / 0.5664 GB, free: 95.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001659/3.349, allocations: 0.8252 MB / 0.5672 GB, free: 95.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000825/3.35, allocations: 0 / 0.5672 GB, free: 95.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006163/3.35, allocations: 0.5802 MB / 0.5678 GB, free: 94.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007045/3.357, allocations: 2.096 MB / 0.5698 GB, free: 93.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009303/3.367, allocations: 5.941 MB / 0.5756 GB, free: 88.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008348/3.375, allocations: 3.561 MB / 0.5791 GB, free: 87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/3.375, allocations: 42.03 kB / 0.5791 GB, free: 87 MB / 346.7 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.05023/3.426, allocations: 8.021 MB / 0.587 GB, free: 84.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/3.426, allocations: 9.906 kB / 0.587 GB, free: 84.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003249/3.426, allocations: 147.1 kB / 0.5871 GB, free: 84.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01676/3.443, allocations: 1.013 MB / 0.5881 GB, free: 84.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02027/3.463, allocations: 1.453 MB / 0.5895 GB, free: 84.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/3.479, allocations: 6.251 MB / 0.5956 GB, free: 80.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007934/3.487, allocations: 187.7 kB / 0.5958 GB, free: 80.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/3.489, allocations: 394.9 kB / 0.5962 GB, free: 80.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (795): * Single equations (assignments): 791 * 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 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002587/3.492, allocations: 458.8 kB / 0.5966 GB, free: 80.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/3.493, allocations: 386.2 kB / 0.597 GB, free: 80.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/3.506, allocations: 3.495 MB / 0.6004 GB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001097/3.506, allocations: 22.95 kB / 0.6004 GB, free: 77.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/3.506, allocations: 12 kB / 0.6004 GB, free: 77.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.846e-05/3.506, allocations: 9.234 kB / 0.6004 GB, free: 77.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03029/3.537, allocations: 8.723 MB / 0.609 GB, free: 70.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/3.537, allocations: 11.92 kB / 0.609 GB, free: 70.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/3.54, allocations: 344.8 kB / 0.6093 GB, free: 69.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00555/3.546, allocations: 0.7806 MB / 0.6101 GB, free: 69.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004601/3.546, allocations: 19.61 kB / 0.6101 GB, free: 69.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/3.559, allocations: 5.068 MB / 0.615 GB, free: 64.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/3.559, allocations: 4 kB / 0.615 GB, free: 64.73 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01722/3.576, allocations: 6.99 MB / 0.6219 GB, free: 58.24 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02965/3.606, allocations: 13.47 MB / 0.635 GB, free: 45.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/3.608, allocations: 0.6802 MB / 0.6357 GB, free: 45.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/3.609, allocations: 8 kB / 0.6357 GB, free: 45.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0036/3.613, allocations: 50.66 kB / 0.6357 GB, free: 45.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005657/3.614, allocations: 118.7 kB / 0.6359 GB, free: 45.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/3.614, allocations: 75.33 kB / 0.6359 GB, free: 45.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00591/3.62, allocations: 2.381 MB / 0.6383 GB, free: 42.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00952/3.629, allocations: 1.002 MB / 0.6392 GB, free: 41.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 175 * 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 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/3.63, allocations: 187.5 kB / 0.6394 GB, free: 41.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/3.643, allocations: 5.106 MB / 0.6444 GB, free: 37.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/3.643, allocations: 5.25 kB / 0.6444 GB, free: 37.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003724/3.647, allocations: 1.677 MB / 0.646 GB, free: 35.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/3.651, allocations: 446.4 kB / 0.6465 GB, free: 35.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/3.678, allocations: 9.092 MB / 0.6553 GB, free: 26.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01152/3.69, allocations: 4.274 MB / 0.6595 GB, free: 23.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/3.69, allocations: 0 / 0.6595 GB, free: 23.64 MB / 346.7 MB