Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002599/0.002599, allocations: 183.8 kB / 8.154 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 93.39 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2618/0.2618, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.317e-06/9.428e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2685, allocations: 58.85 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.4318, allocations: 94.38 MB / 0.5575 GB, free: 4.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.4321, allocations: 79.95 kB / 0.5576 GB, free: 4.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07006/0.5022, allocations: 16.23 MB / 0.5735 GB, free: 4.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.89e-05/0.5023, allocations: 27.98 kB / 0.5735 GB, free: 4.199 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002254/0.5046, allocations: 0.99 MB / 0.5745 GB, free: 3.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5046, allocations: 16.03 kB / 0.5745 GB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/0.5071, allocations: 214.3 kB / 0.5747 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.5087, allocations: 0.5768 MB / 0.5752 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.5087, allocations: 28 kB / 0.5753 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.5089, allocations: 48 kB / 0.5753 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002644/0.5116, allocations: 1 MB / 0.5763 GB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.5151, allocations: 1.588 MB / 0.5778 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.5152, allocations: 11.88 kB / 0.5779 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.5153, allocations: 4 kB / 0.5779 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005763/0.5159, allocations: 185.4 kB / 0.578 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.5276, allocations: 7.047 MB / 0.5849 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.5281, allocations: 142.6 kB / 0.5851 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.5283, allocations: 80.72 kB / 0.5851 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.5284, allocations: 4 kB / 0.5851 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5284, allocations: 38.56 kB / 0.5852 GB, free: 7.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.865e-06/0.5284, allocations: 0 / 0.5852 GB, free: 7.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006736/0.5291, allocations: 244.9 kB / 0.5854 GB, free: 7.449 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.5291, allocations: 51.41 kB / 0.5855 GB, free: 7.387 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.5306, allocations: 0.718 MB / 0.5862 GB, free: 6.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.5306, allocations: 25.7 kB / 0.5862 GB, free: 6.633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.5312, allocations: 0.7 MB / 0.5869 GB, free: 5.922 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.5313, allocations: 59.42 kB / 0.5869 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.5313, allocations: 0 / 0.5869 GB, free: 5.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5315, allocations: 358.8 kB / 0.5873 GB, free: 5.504 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.5321, allocations: 230.5 kB / 0.5875 GB, free: 5.277 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.5332, allocations: 0.9465 MB / 0.5884 GB, free: 3.957 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.5343, allocations: 459.3 kB / 0.5888 GB, free: 3.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.5343, allocations: 11.94 kB / 0.5889 GB, free: 3.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00242/0.5367, allocations: 0.9743 MB / 0.5898 GB, free: 2.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5368, allocations: 8 kB / 0.5898 GB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-05/0.5369, allocations: 24 kB / 0.5898 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.934e-05/0.537, allocations: 40 kB / 0.5899 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.5386, allocations: 264.2 kB / 0.5901 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-05/0.5386, allocations: 51.8 kB / 0.5902 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/0.5396, allocations: 87.2 kB / 0.5903 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5397, allocations: 64 kB / 0.5903 GB, free: 1.988 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 21 (world.groundColor[3],world.groundColor[2],world.groundColor[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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * 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.0002079/0.5399, allocations: 103.1 kB / 0.5904 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.5401, allocations: 71.06 kB / 0.5905 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008226/0.541, allocations: 270.6 kB / 0.5907 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.541, allocations: 4 kB / 0.5907 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.541, allocations: 0 / 0.5907 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.541, allocations: 0 / 0.5907 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5422, allocations: 0.5751 MB / 0.5913 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5422, allocations: 0 / 0.5913 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.5426, allocations: 31.97 kB / 0.5913 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.5426, allocations: 4 kB / 0.5913 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.5427, allocations: 4 kB / 0.5913 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5427, allocations: 3.984 kB / 0.5914 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5427, allocations: 0 / 0.5914 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006653/0.5434, allocations: 342.5 kB / 0.5917 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.5436, allocations: 159.9 kB / 0.5918 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.5437, allocations: 0 / 0.5918 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.5442, allocations: 19.98 kB / 0.5918 GB, free: 340 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.5443, allocations: 11.97 kB / 0.5919 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.5444, allocations: 8 kB / 0.5919 GB, free: 320 kB / 426.7 MB Notification: Performance of sort global known variables: time 0.001013/0.5454, allocations: 0.499 MB / 0.5924 GB, free: 15.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001384/0.5468, allocations: 211 kB / 0.5926 GB, free: 15.61 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.000204/0.547, allocations: 99.25 kB / 0.5927 GB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.5485, allocations: 0.5445 MB / 0.5932 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5485, allocations: 0 / 0.5932 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.5487, allocations: 91.89 kB / 0.5933 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.5493, allocations: 61.75 kB / 0.5933 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.553, allocations: 1.236 MB / 0.5945 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/0.5546, allocations: 1.226 MB / 0.5957 GB, free: 12.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5547, allocations: 4 kB / 0.5957 GB, free: 12.29 MB / 442.7 MB Notification: Performance of Templates: time 0.02223/0.5769, allocations: 9.581 MB / 0.6051 GB, free: 2.707 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)