Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_2_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.595/1.595, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2081/1.803, allocations: 46.83 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/1.889, allocations: 44.51 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/2.179, allocations: 96.96 MB / 390.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/2.18, allocations: 94 kB / 390.9 MB, free: 3.164 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.4613/2.641, allocations: 111.5 MB / 0.4906 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/2.641, allocations: 11.94 kB / 0.4907 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1713/2.812, allocations: 6.492 MB / 0.497 GB, free: 112.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02433/2.837, allocations: 6.837 MB / 0.5037 GB, free: 111.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/2.837, allocations: 171.8 kB / 0.5038 GB, free: 111.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/2.84, allocations: 303.6 kB / 0.5041 GB, free: 111.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01873/2.858, allocations: 7.725 MB / 0.5117 GB, free: 111.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/2.885, allocations: 10.86 MB / 0.5223 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/2.885, allocations: 59.05 kB / 0.5223 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00152/2.887, allocations: 28.47 kB / 0.5224 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001986/2.889, allocations: 1.117 MB / 0.5235 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07434/2.963, allocations: 49.41 MB / 0.5717 GB, free: 77.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005896/2.969, allocations: 3.056 MB / 0.5747 GB, free: 75.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003984/2.973, allocations: 1.99 MB / 0.5766 GB, free: 74.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01827/2.991, allocations: 7.805 MB / 0.5843 GB, free: 70.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/2.992, allocations: 57.56 kB / 0.5843 GB, free: 70.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 5.941e-06/2.992, allocations: 2.844 kB / 0.5843 GB, free: 70.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=227): time 0.07649/3.068, allocations: 15.89 MB / 0.5998 GB, free: 62.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/3.068, allocations: 205.8 kB / 0.6 GB, free: 61.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/3.078, allocations: 3.503 MB / 0.6035 GB, free: 58.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005311/3.079, allocations: 25.7 kB / 0.6035 GB, free: 58.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/3.082, allocations: 3.267 MB / 0.6067 GB, free: 55.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/3.083, allocations: 0.831 MB / 0.6075 GB, free: 55.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008023/3.084, allocations: 0 / 0.6075 GB, free: 55.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000486/3.084, allocations: 0.5796 MB / 0.608 GB, free: 54.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005369/3.09, allocations: 2.102 MB / 0.6101 GB, free: 52.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007385/3.097, allocations: 5.938 MB / 0.6159 GB, free: 45.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/3.105, allocations: 3.555 MB / 0.6194 GB, free: 42.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.466e-05/3.105, allocations: 44 kB / 0.6194 GB, free: 42.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02437/3.13, allocations: 8.022 MB / 0.6272 GB, free: 35.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/3.13, allocations: 7.844 kB / 0.6273 GB, free: 35.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/3.13, allocations: 136 kB / 0.6274 GB, free: 35.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/3.136, allocations: 1.027 MB / 0.6284 GB, free: 34.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009166/3.145, allocations: 1.45 MB / 0.6298 GB, free: 33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/3.159, allocations: 6.245 MB / 0.6359 GB, free: 27.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007296/3.166, allocations: 182.3 kB / 0.6361 GB, free: 27.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/3.168, allocations: 403 kB / 0.6365 GB, free: 26.82 MB / 394.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.00125/3.169, allocations: 453.1 kB / 0.6369 GB, free: 26.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009402/3.17, allocations: 382.4 kB / 0.6373 GB, free: 26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/3.182, allocations: 3.52 MB / 0.6407 GB, free: 23.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.902e-05/3.183, allocations: 20 kB / 0.6407 GB, free: 23.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/3.183, allocations: 8 kB / 0.6407 GB, free: 23.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-05/3.183, allocations: 11.02 kB / 0.6407 GB, free: 23.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/3.21, allocations: 8.717 MB / 0.6492 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/3.21, allocations: 15.89 kB / 0.6493 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/3.214, allocations: 335.5 kB / 0.6496 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005438/3.219, allocations: 0.7816 MB / 0.6503 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004452/3.22, allocations: 8 kB / 0.6503 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/3.231, allocations: 5.075 MB / 0.6553 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/3.232, allocations: 11.94 kB / 0.6553 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01671/3.248, allocations: 6.987 MB / 0.6621 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1636/3.412, allocations: 13.46 MB / 0.6753 GB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/3.414, allocations: 0.682 MB / 0.6759 GB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/3.416, allocations: 6.688 kB / 0.676 GB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/3.419, allocations: 49.25 kB / 0.676 GB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/3.419, allocations: 125.5 kB / 0.6761 GB, free: 97.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/3.419, allocations: 67.66 kB / 0.6762 GB, free: 97.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00569/3.425, allocations: 2.382 MB / 0.6785 GB, free: 97.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008531/3.434, allocations: 1.007 MB / 0.6795 GB, free: 97.46 MB / 394.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.000908/3.435, allocations: 192.4 kB / 0.6797 GB, free: 97.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01139/3.446, allocations: 5.109 MB / 0.6847 GB, free: 97.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/3.446, allocations: 0 / 0.6847 GB, free: 97.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003755/3.45, allocations: 1.683 MB / 0.6863 GB, free: 97.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/3.454, allocations: 430.3 kB / 0.6867 GB, free: 97.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/3.48, allocations: 9.09 MB / 0.6956 GB, free: 95.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01069/3.491, allocations: 4.279 MB / 0.6998 GB, free: 94.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.442e-06/3.491, allocations: 0 / 0.6998 GB, free: 94.45 MB / 394.7 MB