Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Spring",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(ModelicaTest): time 1.943/1.943, allocations: 209.3 MB / 216.3 MB, free: 6.863 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2369/2.18, allocations: 51.03 MB / 267.3 MB, free: 5.223 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/2.306, allocations: 48.69 MB / 316 MB, free: 4.441 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/2.678, allocations: 90.1 MB / 406.1 MB, free: 2.887 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/2.678, allocations: 78.14 kB / 406.2 MB, free: 2.844 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.4135/3.092, allocations: 85.72 MB / 491.9 MB, free: 188 kB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.518e-05/3.092, allocations: 12 kB / 491.9 MB, free: 176 kB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1936/3.285, allocations: 1.965 MB / 493.9 MB, free: 134.3 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/3.304, allocations: 5.18 MB / 499 MB, free: 134 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/3.305, allocations: 137.5 kB / 499.2 MB, free: 134 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/3.307, allocations: 246.6 kB / 499.4 MB, free: 134 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0222/3.329, allocations: 6.224 MB / 0.4938 GB, free: 134 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03453/3.364, allocations: 9.474 MB / 0.503 GB, free: 131.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004238/3.364, allocations: 64.75 kB / 0.5031 GB, free: 131.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002485/3.367, allocations: 34.34 kB / 0.5031 GB, free: 131.1 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003791/3.371, allocations: 1.081 MB / 0.5042 GB, free: 131.1 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07427/3.445, allocations: 47.36 MB / 0.5504 GB, free: 97.44 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/3.449, allocations: 1.86 MB / 0.5522 GB, free: 96.32 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/3.451, allocations: 0.9903 MB / 0.5532 GB, free: 95.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/3.462, allocations: 4.414 MB / 0.5575 GB, free: 93.16 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/3.462, allocations: 54.34 kB / 0.5576 GB, free: 93.1 MB / 410.8 MB Notification: Performance of pre-optimization done (n=134): time 6.472e-06/3.462, allocations: 2.594 kB / 0.5576 GB, free: 93.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=146): time 0.02811/3.49, allocations: 7.578 MB / 0.565 GB, free: 89.32 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/3.49, allocations: 192.6 kB / 0.5652 GB, free: 89.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008601/3.499, allocations: 3.086 MB / 0.5682 GB, free: 87.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003632/3.499, allocations: 26.86 kB / 0.5682 GB, free: 87.88 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002765/3.502, allocations: 3.009 MB / 0.5711 GB, free: 85.54 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009381/3.503, allocations: 0.5767 MB / 0.5717 GB, free: 85.13 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/3.504, allocations: 0 / 0.5717 GB, free: 85.13 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004214/3.504, allocations: 0.5608 MB / 0.5722 GB, free: 84.71 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004574/3.509, allocations: 1.494 MB / 0.5737 GB, free: 83.96 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006964/3.516, allocations: 5.404 MB / 0.579 GB, free: 76.88 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/3.523, allocations: 2.866 MB / 0.5818 GB, free: 74.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/3.523, allocations: 40 kB / 0.5818 GB, free: 74.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01657/3.539, allocations: 5.919 MB / 0.5876 GB, free: 69.15 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/3.539, allocations: 8 kB / 0.5876 GB, free: 69.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002295/3.54, allocations: 143.9 kB / 0.5877 GB, free: 69.01 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/3.54, allocations: 204 kB / 0.5879 GB, free: 68.81 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/3.553, allocations: 1.459 MB / 0.5894 GB, free: 67.52 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000368/3.553, allocations: 271.9 kB / 0.5896 GB, free: 67.29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00999/3.563, allocations: 255.3 kB / 0.5899 GB, free: 67.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/3.565, allocations: 383.8 kB / 0.5902 GB, free: 66.7 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (770): * Single equations (assignments): 767 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001512/3.566, allocations: 449.4 kB / 0.5907 GB, free: 66.25 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009979/3.567, allocations: 315.3 kB / 0.591 GB, free: 65.94 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/3.571, allocations: 1.143 MB / 0.5921 GB, free: 64.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001241/3.571, allocations: 12 kB / 0.5921 GB, free: 64.95 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/3.571, allocations: 4 kB / 0.5921 GB, free: 64.95 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.892e-05/3.571, allocations: 3.75 kB / 0.5921 GB, free: 64.95 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/3.586, allocations: 4.525 MB / 0.5965 GB, free: 60.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/3.586, allocations: 16.03 kB / 0.5965 GB, free: 60.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/3.588, allocations: 254.4 kB / 0.5968 GB, free: 60.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-05/3.588, allocations: 24 kB / 0.5968 GB, free: 60.71 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/3.588, allocations: 20 kB / 0.5968 GB, free: 60.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.433e-05/3.588, allocations: 40.7 kB / 0.5969 GB, free: 60.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-05/3.588, allocations: 27.78 kB / 0.5969 GB, free: 60.64 MB / 410.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006686/3.595, allocations: 4.65 MB / 0.6014 GB, free: 55.63 MB / 410.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009607/3.605, allocations: 5.817 MB / 0.6071 GB, free: 49.54 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/3.607, allocations: 491.1 kB / 0.6076 GB, free: 49.06 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/3.609, allocations: 31.75 kB / 0.6076 GB, free: 49.04 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/3.612, allocations: 60.05 kB / 0.6077 GB, free: 48.99 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/3.612, allocations: 109.5 kB / 0.6078 GB, free: 48.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/3.612, allocations: 59.91 kB / 0.6078 GB, free: 48.85 MB / 410.8 MB Notification: Performance of sort global known variables: time 0.006136/3.619, allocations: 2.053 MB / 0.6098 GB, free: 47.07 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008527/3.627, allocations: 0.7592 MB / 0.6106 GB, free: 46.32 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007056/3.628, allocations: 169.6 kB / 0.6107 GB, free: 46.16 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007986/3.636, allocations: 3.415 MB / 0.6141 GB, free: 43.04 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.256e-05/3.636, allocations: 4.312 kB / 0.6141 GB, free: 43.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/3.638, allocations: 0.6693 MB / 0.6147 GB, free: 42.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/3.642, allocations: 344.7 kB / 0.6151 GB, free: 42.13 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/3.664, allocations: 6.99 MB / 0.6219 GB, free: 35.61 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00947/3.674, allocations: 3.489 MB / 0.6253 GB, free: 32.89 MB / 410.8 MB Notification: Performance of SimCode: time 2.375e-06/3.674, allocations: 0 / 0.6253 GB, free: 32.89 MB / 410.8 MB