Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",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 2.673/2.673, allocations: 194.9 MB / 202.6 MB, free: 13.54 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.3471/3.02, allocations: 46.83 MB / 249.4 MB, free: 6.324 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/3.144, allocations: 44.51 MB / 293.9 MB, free: 60 kB / 238.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/3.643, allocations: 96.95 MB / 390.9 MB, free: 24.86 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/3.644, allocations: 88.16 kB / 391 MB, free: 24.86 MB / 318.1 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.7921/4.436, allocations: 111.5 MB / 0.4907 GB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/4.436, allocations: 8 kB / 0.4907 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07668/4.513, allocations: 6.497 MB / 0.4971 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04966/4.562, allocations: 6.828 MB / 0.5037 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007147/4.563, allocations: 168 kB / 0.5039 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004195/4.567, allocations: 311.8 kB / 0.5042 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03929/4.607, allocations: 7.72 MB / 0.5117 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2626/4.87, allocations: 10.85 MB / 0.5223 GB, free: 99.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005055/4.87, allocations: 71.3 kB / 0.5224 GB, free: 99.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003016/4.873, allocations: 29.72 kB / 0.5224 GB, free: 99.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004357/4.878, allocations: 1.123 MB / 0.5235 GB, free: 99.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/5.015, allocations: 49.41 MB / 0.5718 GB, free: 72.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/5.025, allocations: 3.049 MB / 0.5747 GB, free: 71.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006403/5.031, allocations: 1.985 MB / 0.5767 GB, free: 71.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03313/5.065, allocations: 7.826 MB / 0.5843 GB, free: 67.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.331e-05/5.065, allocations: 56 kB / 0.5844 GB, free: 67.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=179): time 1.101e-05/5.065, allocations: 0 / 0.5844 GB, free: 67.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.124/5.189, allocations: 15.89 MB / 0.5999 GB, free: 62.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/5.189, allocations: 203.2 kB / 0.6001 GB, free: 61.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/5.204, allocations: 3.503 MB / 0.6035 GB, free: 60.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007074/5.205, allocations: 29.17 kB / 0.6035 GB, free: 60.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004629/5.209, allocations: 3.277 MB / 0.6067 GB, free: 58.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00221/5.212, allocations: 0.8273 MB / 0.6075 GB, free: 57.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/5.213, allocations: 0 / 0.6075 GB, free: 57.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0008132/5.214, allocations: 0.5768 MB / 0.6081 GB, free: 57.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009732/5.224, allocations: 2.102 MB / 0.6102 GB, free: 56.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/5.236, allocations: 5.941 MB / 0.616 GB, free: 50.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/5.248, allocations: 3.555 MB / 0.6194 GB, free: 49.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/5.248, allocations: 39.09 kB / 0.6195 GB, free: 49.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.0354/5.283, allocations: 8.027 MB / 0.6273 GB, free: 46.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/5.283, allocations: 6.562 kB / 0.6273 GB, free: 46.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00038/5.284, allocations: 139 kB / 0.6274 GB, free: 46.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/5.295, allocations: 1.019 MB / 0.6284 GB, free: 46.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/5.312, allocations: 1.447 MB / 0.6299 GB, free: 46.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/5.332, allocations: 6.252 MB / 0.636 GB, free: 42.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009899/5.342, allocations: 188.7 kB / 0.6361 GB, free: 42.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/5.344, allocations: 398.2 kB / 0.6365 GB, free: 42.75 MB / 398.1 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.00226/5.347, allocations: 450.6 kB / 0.6369 GB, free: 42.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/5.348, allocations: 382.5 kB / 0.6373 GB, free: 42.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/5.367, allocations: 3.51 MB / 0.6407 GB, free: 40.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001405/5.367, allocations: 19.91 kB / 0.6408 GB, free: 40.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/5.367, allocations: 11.25 kB / 0.6408 GB, free: 40.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-05/5.367, allocations: 12.44 kB / 0.6408 GB, free: 40.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04009/5.407, allocations: 8.725 MB / 0.6493 GB, free: 34.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/5.407, allocations: 11.69 kB / 0.6493 GB, free: 34.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004696/5.412, allocations: 338.4 kB / 0.6496 GB, free: 34.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007782/5.42, allocations: 0.7721 MB / 0.6504 GB, free: 33.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006112/5.421, allocations: 16 kB / 0.6504 GB, free: 33.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/5.436, allocations: 5.075 MB / 0.6554 GB, free: 29.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/5.437, allocations: 16 kB / 0.6554 GB, free: 29.28 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02192/5.458, allocations: 6.98 MB / 0.6622 GB, free: 22.8 MB / 398.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04071/5.499, allocations: 13.47 MB / 0.6753 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0043/5.504, allocations: 0.6865 MB / 0.676 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00229/5.506, allocations: 8 kB / 0.676 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006669/5.513, allocations: 46.86 kB / 0.6761 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/5.514, allocations: 114.5 kB / 0.6762 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005137/5.514, allocations: 71.7 kB / 0.6762 GB, free: 9.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.01061/5.525, allocations: 2.38 MB / 0.6786 GB, free: 7.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0177/5.543, allocations: 1.01 MB / 0.6796 GB, free: 6.52 MB / 398.1 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.001622/5.545, allocations: 193.4 kB / 0.6797 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.02125/5.566, allocations: 5.108 MB / 0.6847 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/5.566, allocations: 0 / 0.6847 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006615/5.573, allocations: 1.679 MB / 0.6864 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008282/5.581, allocations: 0.5122 MB / 0.6869 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2355/5.816, allocations: 9.103 MB / 0.6958 GB, free: 97.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02049/5.837, allocations: 4.276 MB / 0.6999 GB, free: 96.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.305e-06/5.837, allocations: 3.062 kB / 0.6999 GB, free: 96.22 MB / 398.1 MB