Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",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.338/2.338, allocations: 234.9 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2117/2.549, allocations: 57.2 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/2.844, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/3.277, allocations: 103.9 MB / 457.9 MB, free: 34.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/3.277, allocations: 75.36 kB / 458 MB, free: 34.89 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: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 1.157/4.434, allocations: 239 MB / 0.6806 GB, free: 48.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/4.434, allocations: 9.969 kB / 0.6806 GB, free: 48.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04306/4.477, allocations: 5.452 MB / 0.6859 GB, free: 47.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04658/4.524, allocations: 10.57 MB / 0.6963 GB, free: 46.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001816/4.526, allocations: 0.6335 MB / 0.6969 GB, free: 46.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008353/4.534, allocations: 1.145 MB / 0.698 GB, free: 46.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07651/4.611, allocations: 21.06 MB / 0.7186 GB, free: 46.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1158/4.727, allocations: 33.16 MB / 0.7509 GB, free: 26.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002359/4.729, allocations: 193.6 kB / 0.7511 GB, free: 26.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01107/4.74, allocations: 100 kB / 0.7512 GB, free: 26.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005646/4.746, allocations: 2.132 MB / 0.7533 GB, free: 24.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8286/5.575, allocations: 158.3 MB / 0.9079 GB, free: 49.68 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/5.588, allocations: 4.744 MB / 0.9125 GB, free: 49.03 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01069/5.599, allocations: 3.718 MB / 0.9162 GB, free: 48.99 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09031/5.689, allocations: 31.36 MB / 0.9468 GB, free: 34.28 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/5.69, allocations: 62.53 kB / 0.9469 GB, free: 34.24 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=254): time 1.081e-05/5.69, allocations: 0 / 0.9469 GB, free: 34.24 MB / 0.5418 GB Notification: Performance of matching and sorting (n=289): time 0.1705/5.86, allocations: 41.98 MB / 0.9879 GB, free: 23.99 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/5.86, allocations: 215.3 kB / 0.9881 GB, free: 23.77 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02562/5.886, allocations: 8.901 MB / 0.9967 GB, free: 20.14 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0008175/5.887, allocations: 28.86 kB / 0.9968 GB, free: 20.11 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00883/5.896, allocations: 10.81 MB / 1.007 GB, free: 11.81 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002074/5.898, allocations: 1.257 MB / 1.009 GB, free: 10.96 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/5.9, allocations: 0 / 1.009 GB, free: 10.96 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.002616/5.903, allocations: 1.089 MB / 1.01 GB, free: 10.32 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01728/5.92, allocations: 5.748 MB / 1.015 GB, free: 8.133 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4608/6.381, allocations: 18.3 MB / 1.033 GB, free: 127.9 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02494/6.406, allocations: 10.49 MB / 1.043 GB, free: 127.8 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005722/6.407, allocations: 131.2 kB / 1.043 GB, free: 127.8 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2374) (initialization): time 0.06023/6.467, allocations: 20.69 MB / 1.064 GB, free: 126.3 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/6.467, allocations: 3.188 kB / 1.064 GB, free: 126.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001231/6.468, allocations: 461.4 kB / 1.064 GB, free: 126.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/6.471, allocations: 0.8095 MB / 1.065 GB, free: 126.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03005/6.501, allocations: 4.408 MB / 1.069 GB, free: 125.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/6.508, allocations: 3.19 MB / 1.072 GB, free: 124.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02144/6.53, allocations: 0.6663 MB / 1.073 GB, free: 124.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005317/6.535, allocations: 1.167 MB / 1.074 GB, free: 124.4 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2081 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2331): * Single equations (assignments): 2323 * Array equations: 7 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006673/6.542, allocations: 1.131 MB / 1.075 GB, free: 123.9 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001834/6.544, allocations: 0.7957 MB / 1.076 GB, free: 123.9 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/6.561, allocations: 5.897 MB / 1.082 GB, free: 123.7 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001769/6.562, allocations: 26.19 kB / 1.082 GB, free: 123.7 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/6.562, allocations: 3.031 kB / 1.082 GB, free: 123.7 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.195e-05/6.562, allocations: 21.7 kB / 1.082 GB, free: 123.7 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06433/6.626, allocations: 17.03 MB / 1.098 GB, free: 122.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-05/6.626, allocations: 5.5 kB / 1.098 GB, free: 122.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006283/6.632, allocations: 0.5642 MB / 1.099 GB, free: 122.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009765/6.633, allocations: 168.4 kB / 1.099 GB, free: 122.4 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007047/6.634, allocations: 14.22 kB / 1.099 GB, free: 122.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/6.638, allocations: 2.033 MB / 1.101 GB, free: 121.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/6.638, allocations: 0 / 1.101 GB, free: 121.2 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02291/6.661, allocations: 10.42 MB / 1.111 GB, free: 120 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03625/6.697, allocations: 14.69 MB / 1.126 GB, free: 115.3 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00482/6.702, allocations: 1.239 MB / 1.127 GB, free: 114.6 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002968/6.705, allocations: 3.594 kB / 1.127 GB, free: 114.6 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007957/6.713, allocations: 305.5 kB / 1.127 GB, free: 114.5 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009412/6.714, allocations: 132.8 kB / 1.127 GB, free: 114.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004603/6.714, allocations: 96.92 kB / 1.127 GB, free: 114.5 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.01887/6.733, allocations: 5.913 MB / 1.133 GB, free: 112.2 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.02957/6.763, allocations: 2.488 MB / 1.136 GB, free: 112.2 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 7 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/6.765, allocations: 218.7 kB / 1.136 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.03366/6.798, allocations: 12.69 MB / 1.148 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/6.798, allocations: 2.688 kB / 1.148 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.006998/6.805, allocations: 2.819 MB / 1.151 GB, free: 106.4 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/6.816, allocations: 1.228 MB / 1.152 GB, free: 106 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08949/6.905, allocations: 24.22 MB / 1.176 GB, free: 85.57 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04004/6.945, allocations: 11.48 MB / 1.187 GB, free: 76.96 MB / 0.5419 GB Notification: Performance of SimCode: time 2.374e-06/6.945, allocations: 0 / 1.187 GB, free: 76.96 MB / 0.5419 GB