Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009948, allocations: 19.98 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1038, allocations: 48.7 MB / 331.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3115/0.4154, allocations: 32.9 MB / 364.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02131/0.4367, allocations: 6.71 MB / 370.9 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008395/0.4452, allocations: 157.8 kB / 371 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007032/0.4523, allocations: 1.663 MB / 372.7 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01891/0.4712, allocations: 4.445 MB / 377.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.4734, allocations: 98.22 kB / 377.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.4754, allocations: 0.5999 MB / 377.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003637/0.4791, allocations: 1.703 MB / 379.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.4798, allocations: 300.8 kB / 379.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.4805, allocations: 354.5 kB / 380.2 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4807, allocations: 45.72 kB / 380.2 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.4811, allocations: 33.72 kB / 380.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007299/0.4818, allocations: 0.5756 MB / 380.8 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.4823, allocations: 338.8 kB / 381.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.4852, allocations: 1.763 MB / 382.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4853, allocations: 0 / 382.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4853, allocations: 0 / 382.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.822e-05/0.4854, allocations: 4 kB / 382.9 MB, free: 1.191 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003951/0.4893, allocations: 1.608 MB / 384.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.4894, allocations: 12.03 kB / 384.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009203/0.4903, allocations: 322.3 kB / 384.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007828/0.4911, allocations: 225.2 kB / 385.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.4929, allocations: 0.6942 MB / 385.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.4931, allocations: 122.9 kB / 385.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.4933, allocations: 147.9 kB / 386.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006559/0.4999, allocations: 3.347 MB / 389.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.398e-05/0.5, allocations: 23.75 kB / 389.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.5002, allocations: 71.94 kB / 389.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001181/0.5014, allocations: 0.6149 MB / 390.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005213/0.5067, allocations: 1.839 MB / 391.9 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.5247, allocations: 13.42 MB / 405.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.5249, allocations: 169.1 kB / 405.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.5249, allocations: 75.28 kB / 405.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.561e-05/0.525, allocations: 113.8 kB / 405.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.525, allocations: 0 / 405.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003449/0.5254, allocations: 148.1 kB / 405.9 MB, free: 9.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.5254, allocations: 126.7 kB / 406 MB, free: 9.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.5286, allocations: 1.614 MB / 407.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5286, allocations: 25.7 kB / 407.6 MB, free: 7.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.5299, allocations: 1.373 MB / 409 MB, free: 6.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.53, allocations: 43.95 kB / 409 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.5301, allocations: 44 kB / 409.1 MB, free: 6.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.5303, allocations: 390.8 kB / 409.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009028/0.5312, allocations: 359.8 kB / 409.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.5335, allocations: 1.895 MB / 411.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.5354, allocations: 0.7685 MB / 412.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.83e-05/0.5355, allocations: 16 kB / 412.5 MB, free: 1.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00497/0.5405, allocations: 2.026 MB / 414.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.5406, allocations: 36.22 kB / 414.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.548e-05/0.5407, allocations: 59.56 kB / 414.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.5408, allocations: 80 kB / 414.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.543, allocations: 483 kB / 415.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/0.5431, allocations: 115.5 kB / 415.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.5451, allocations: 316.4 kB / 415.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.5454, allocations: 140 kB / 415.7 MB, free: 14.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * Array equations: 0 * 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.001897/0.5473, allocations: 0.8536 MB / 416.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.5476, allocations: 231.3 kB / 416.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.548, allocations: 228.2 kB / 417 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.765e-05/0.5481, allocations: 180.3 kB / 417.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.168e-05/0.5481, allocations: 176.3 kB / 417.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/0.5482, allocations: 184.2 kB / 417.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.551, allocations: 1.473 MB / 419 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.727e-05/0.5511, allocations: 108.9 kB / 419.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.5511, allocations: 101 kB / 419.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/0.5512, allocations: 180.2 kB / 419.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.184e-05/0.5513, allocations: 184.2 kB / 419.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.243e-05/0.5514, allocations: 184.3 kB / 419.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.516e-05/0.5515, allocations: 188.1 kB / 420 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.5519, allocations: 425.1 kB / 420.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/0.5524, allocations: 292.6 kB / 420.7 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.5527, allocations: 184.2 kB / 420.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.5532, allocations: 108.9 kB / 420.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.5533, allocations: 180.6 kB / 421.1 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.5533, allocations: 104.9 kB / 421.2 MB, free: 8.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00217/0.5555, allocations: 0.9939 MB / 422.2 MB, free: 7.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5555, allocations: 0 / 422.2 MB, free: 7.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002308/0.5578, allocations: 430.1 kB / 422.6 MB, free: 7.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0007061/0.5586, allocations: 0.9362 MB / 423.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.5609, allocations: 0.8802 MB / 424.4 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5609, allocations: 4.062 kB / 424.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.5609, allocations: 0 / 424.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5621, allocations: 0.6446 MB / 425.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/0.5829, allocations: 9.92 MB / 435 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.5848, allocations: 1.603 MB / 436.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.5861, allocations: 0.6789 MB / 437.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5861, allocations: 3.938 kB / 437.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.744/3.33, allocations: 26.09 MB / 463.4 MB, free: 13.54 MB / 394.7 MB