Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute",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.237/2.237, allocations: 209.3 MB / 216.3 MB, free: 5.438 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1608/2.398, allocations: 51.03 MB / 267.3 MB, free: 2.316 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/2.663, allocations: 48.69 MB / 316 MB, free: 4.957 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/3.098, allocations: 88.39 MB / 404.4 MB, free: 29.52 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/3.098, allocations: 77.25 kB / 404.4 MB, free: 29.52 MB / 338.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.4327/3.531, allocations: 86.66 MB / 491.1 MB, free: 4.902 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/3.531, allocations: 8 kB / 491.1 MB, free: 4.895 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03921/3.57, allocations: 2.802 MB / 493.9 MB, free: 2.082 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02582/3.596, allocations: 4.194 MB / 498.1 MB, free: 13.84 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005354/3.597, allocations: 128 kB / 498.2 MB, free: 13.71 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004151/3.601, allocations: 224 kB / 498.4 MB, free: 13.49 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03025/3.631, allocations: 7.439 MB / 0.494 GB, free: 6.047 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04166/3.673, allocations: 9.647 MB / 0.5034 GB, free: 11.95 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002943/3.673, allocations: 23.81 kB / 0.5035 GB, free: 11.93 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003275/3.677, allocations: 12 kB / 0.5035 GB, free: 11.91 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004357/3.681, allocations: 1.281 MB / 0.5047 GB, free: 10.63 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0952/3.776, allocations: 33.34 MB / 0.5373 GB, free: 8.645 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009751/3.786, allocations: 4.296 MB / 0.5415 GB, free: 4.117 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005913/3.792, allocations: 2.377 MB / 0.5438 GB, free: 1.742 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1831/3.975, allocations: 10.12 MB / 0.5537 GB, free: 128.7 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/3.975, allocations: 46.12 kB / 0.5537 GB, free: 128.7 MB / 418.8 MB Notification: Performance of pre-optimization done (n=186): time 6.703e-06/3.975, allocations: 0 / 0.5537 GB, free: 128.7 MB / 418.8 MB Notification: Performance of matching and sorting (n=201): time 0.04297/4.018, allocations: 11.93 MB / 0.5654 GB, free: 127.9 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/4.018, allocations: 71.44 kB / 0.5655 GB, free: 127.8 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009034/4.027, allocations: 2.48 MB / 0.5679 GB, free: 127.5 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000653/4.028, allocations: 25.7 kB / 0.5679 GB, free: 127.5 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/4.031, allocations: 2.794 MB / 0.5706 GB, free: 125.9 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/4.032, allocations: 0.7294 MB / 0.5713 GB, free: 125.5 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007269/4.033, allocations: 0 / 0.5713 GB, free: 125.5 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0007069/4.033, allocations: 0.6012 MB / 0.5719 GB, free: 125.1 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005743/4.039, allocations: 2.195 MB / 0.5741 GB, free: 125.1 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008055/4.047, allocations: 5.316 MB / 0.5793 GB, free: 121.1 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009229/4.057, allocations: 3.474 MB / 0.5827 GB, free: 121.1 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/4.057, allocations: 30.69 kB / 0.5827 GB, free: 121.1 MB / 418.8 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.03544/4.092, allocations: 7.502 MB / 0.59 GB, free: 120.7 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/4.092, allocations: 3.969 kB / 0.59 GB, free: 120.7 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003066/4.093, allocations: 111.5 kB / 0.5901 GB, free: 120.7 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006311/4.099, allocations: 0.7629 MB / 0.5909 GB, free: 120.7 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/4.111, allocations: 1.251 MB / 0.5921 GB, free: 120.6 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/4.123, allocations: 3.927 MB / 0.5959 GB, free: 118.6 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/4.133, allocations: 163 kB / 0.5961 GB, free: 118.6 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002209/4.135, allocations: 328.3 kB / 0.5964 GB, free: 118.5 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 673 * Array equations: 6 * 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 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002887/4.138, allocations: 386.6 kB / 0.5968 GB, free: 118.2 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/4.139, allocations: 262 kB / 0.597 GB, free: 118.1 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/4.16, allocations: 4.179 MB / 0.6011 GB, free: 116.8 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002017/4.16, allocations: 36.48 kB / 0.6011 GB, free: 116.8 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/4.16, allocations: 3.625 kB / 0.6011 GB, free: 116.8 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.314e-05/4.16, allocations: 7.266 kB / 0.6011 GB, free: 116.8 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03827/4.199, allocations: 8.092 MB / 0.609 GB, free: 114.2 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.993e-05/4.199, allocations: 1.375 kB / 0.609 GB, free: 114.2 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004555/4.203, allocations: 275.3 kB / 0.6093 GB, free: 114.2 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006264/4.21, allocations: 0.5924 MB / 0.6099 GB, free: 114.1 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007445/4.21, allocations: 3.531 kB / 0.6099 GB, free: 114.1 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/4.223, allocations: 3.424 MB / 0.6132 GB, free: 112.3 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/4.223, allocations: 1.25 kB / 0.6132 GB, free: 112.3 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02634/4.249, allocations: 6.39 MB / 0.6195 GB, free: 109.3 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02391/4.273, allocations: 9.167 MB / 0.6284 GB, free: 101.2 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003649/4.277, allocations: 0.6203 MB / 0.629 GB, free: 100.6 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002346/4.28, allocations: 4 kB / 0.629 GB, free: 100.6 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004452/4.284, allocations: 59.59 kB / 0.6291 GB, free: 100.6 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/4.285, allocations: 76.81 kB / 0.6292 GB, free: 100.5 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009989/4.286, allocations: 44 kB / 0.6292 GB, free: 100.5 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.007652/4.294, allocations: 1.637 MB / 0.6308 GB, free: 99.04 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.01637/4.31, allocations: 0.8252 MB / 0.6316 GB, free: 98.21 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/4.312, allocations: 142.8 kB / 0.6317 GB, free: 98.08 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.01762/4.329, allocations: 5.153 MB / 0.6368 GB, free: 93.42 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/4.329, allocations: 0 / 0.6368 GB, free: 93.42 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004126/4.334, allocations: 1.811 MB / 0.6385 GB, free: 91.78 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/4.335, allocations: 207.1 kB / 0.6387 GB, free: 91.6 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/4.364, allocations: 7.578 MB / 0.6461 GB, free: 84.85 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01486/4.379, allocations: 3.54 MB / 0.6496 GB, free: 82.09 MB / 418.8 MB Notification: Performance of SimCode: time 2.835e-06/4.379, allocations: 0 / 0.6496 GB, free: 82.09 MB / 418.8 MB