Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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 2.44/2.44, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.185/2.625, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/2.948, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/3.403, allocations: 96.09 MB / 450.1 MB, free: 32.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004536/3.404, allocations: 82 kB / 450.2 MB, free: 32.47 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.3424/3.746, allocations: 65.5 MB / 0.5036 GB, free: 15.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/3.746, allocations: 8.75 kB / 0.5036 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/3.761, allocations: 1.674 MB / 0.5052 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007634/3.769, allocations: 1.934 MB / 0.5071 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/3.77, allocations: 121.9 kB / 0.5072 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/3.772, allocations: 208 kB / 0.5074 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01566/3.788, allocations: 5.726 MB / 0.513 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/3.809, allocations: 8.636 MB / 0.5214 GB, free: 8 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/3.809, allocations: 59.5 kB / 0.5215 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/3.81, allocations: 24 kB / 0.5215 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002839/3.813, allocations: 1.033 MB / 0.5225 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08439/3.898, allocations: 42.23 MB / 0.5638 GB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007782/3.906, allocations: 3.233 MB / 0.5669 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00529/3.911, allocations: 2.21 MB / 0.5691 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008119/3.912, allocations: 392.2 kB / 0.5695 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/3.912, allocations: 55.48 kB / 0.5695 GB, free: 13.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=169): time 6.061e-06/3.912, allocations: 0 / 0.5695 GB, free: 13.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=214): time 0.1037/4.016, allocations: 22 MB / 0.591 GB, free: 7.094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/4.016, allocations: 175.5 kB / 0.5912 GB, free: 6.887 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006346/4.022, allocations: 2.373 MB / 0.5935 GB, free: 4.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006271/4.023, allocations: 25.7 kB / 0.5935 GB, free: 4.469 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00302/4.026, allocations: 2.536 MB / 0.596 GB, free: 1.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/4.028, allocations: 0.7747 MB / 0.5967 GB, free: 1.105 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/4.028, allocations: 0 / 0.5967 GB, free: 1.105 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000783/4.029, allocations: 0.6015 MB / 0.5973 GB, free: 500 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007607/4.037, allocations: 2.518 MB / 0.5998 GB, free: 13.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/4.048, allocations: 5.82 MB / 0.6055 GB, free: 6.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/4.06, allocations: 3.999 MB / 0.6094 GB, free: 2.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/4.06, allocations: 39.94 kB / 0.6094 GB, free: 2.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.2086/4.269, allocations: 8.585 MB / 0.6178 GB, free: 158.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/4.269, allocations: 3.969 kB / 0.6178 GB, free: 158.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002045/4.269, allocations: 119.2 kB / 0.6179 GB, free: 158.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006007/4.275, allocations: 1.104 MB / 0.619 GB, free: 158 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009991/4.285, allocations: 1.354 MB / 0.6203 GB, free: 158 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/4.293, allocations: 4.961 MB / 0.6252 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007273/4.301, allocations: 181.7 kB / 0.6253 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/4.303, allocations: 366.4 kB / 0.6257 GB, free: 155.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (718): * Single equations (assignments): 711 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00215/4.305, allocations: 401.1 kB / 0.6261 GB, free: 155.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000908/4.306, allocations: 265.1 kB / 0.6263 GB, free: 155.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/4.321, allocations: 4.704 MB / 0.6309 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/4.322, allocations: 26.06 kB / 0.6309 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/4.322, allocations: 3.812 kB / 0.6309 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/4.322, allocations: 9.328 kB / 0.6309 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03888/4.361, allocations: 9.676 MB / 0.6404 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.714e-05/4.361, allocations: 3.812 kB / 0.6404 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004366/4.365, allocations: 357.2 kB / 0.6407 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006262/4.371, allocations: 0.927 MB / 0.6416 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008045/4.372, allocations: 14.73 kB / 0.6417 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009445/4.382, allocations: 4.37 MB / 0.6459 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/4.382, allocations: 0 / 0.6459 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02931/4.411, allocations: 8.319 MB / 0.6541 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03721/4.448, allocations: 11.71 MB / 0.6655 GB, free: 144.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/4.451, allocations: 0.7135 MB / 0.6662 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/4.452, allocations: 4.75 kB / 0.6662 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/4.455, allocations: 58.41 kB / 0.6663 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004734/4.456, allocations: 96.89 kB / 0.6663 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/4.456, allocations: 70.11 kB / 0.6664 GB, free: 144.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003516/4.46, allocations: 1.561 MB / 0.6679 GB, free: 143.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007943/4.468, allocations: 0.8265 MB / 0.6687 GB, free: 143.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/4.469, allocations: 162.8 kB / 0.6689 GB, free: 143.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01881/4.487, allocations: 6.547 MB / 0.6753 GB, free: 141 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/4.488, allocations: 3.391 kB / 0.6753 GB, free: 141 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01274/4.5, allocations: 2.847 MB / 0.6781 GB, free: 139.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/4.504, allocations: 199.2 kB / 0.6783 GB, free: 139.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/4.534, allocations: 7.752 MB / 0.6858 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008344/4.543, allocations: 3.206 MB / 0.689 GB, free: 132.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/4.543, allocations: 0 / 0.689 GB, free: 132.9 MB / 474.7 MB