Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 190.6 kB / 7.802 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 94.73 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1937/0.1937, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1989/0.3927, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.7652, allocations: 58.83 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.9153, allocations: 94.38 MB / 0.5576 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.9156, allocations: 71.97 kB / 0.5577 GB, free: 4.453 MB / 394.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.04924/0.9648, allocations: 17.26 MB / 0.5746 GB, free: 3.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.9649, allocations: 15.98 kB / 0.5746 GB, free: 3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.9664, allocations: 214.3 kB / 0.5748 GB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.9676, allocations: 0.5806 MB / 0.5754 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.9677, allocations: 32 kB / 0.5754 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.9678, allocations: 48 kB / 0.5754 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001643/0.9695, allocations: 1 MB / 0.5764 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.9717, allocations: 1.592 MB / 0.578 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.9717, allocations: 7.938 kB / 0.578 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.9718, allocations: 4 kB / 0.578 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003451/0.9722, allocations: 185.3 kB / 0.5782 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008477/0.9806, allocations: 7.031 MB / 0.585 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.981, allocations: 158.5 kB / 0.5852 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.9811, allocations: 76.73 kB / 0.5852 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.9812, allocations: 3.984 kB / 0.5852 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.9812, allocations: 30.56 kB / 0.5853 GB, free: 7.555 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.667e-06/0.9812, allocations: 4 kB / 0.5853 GB, free: 7.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004942/0.9817, allocations: 248.9 kB / 0.5855 GB, free: 7.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.9817, allocations: 51.41 kB / 0.5856 GB, free: 7.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.9827, allocations: 0.718 MB / 0.5863 GB, free: 6.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.9827, allocations: 25.7 kB / 0.5863 GB, free: 6.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.9832, allocations: 0.6585 MB / 0.5869 GB, free: 5.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.9833, allocations: 59.44 kB / 0.587 GB, free: 5.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.9833, allocations: 0 / 0.587 GB, free: 5.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.9835, allocations: 382.8 kB / 0.5874 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.9839, allocations: 230.5 kB / 0.5876 GB, free: 5.145 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.9847, allocations: 0.9504 MB / 0.5885 GB, free: 3.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.9853, allocations: 459.4 kB / 0.5889 GB, free: 3.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.9853, allocations: 12 kB / 0.589 GB, free: 3.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001536/0.9869, allocations: 0.998 MB / 0.5899 GB, free: 2.355 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9869, allocations: 8 kB / 0.5899 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.9869, allocations: 28.12 kB / 0.59 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/0.987, allocations: 40 kB / 0.59 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.9878, allocations: 259.5 kB / 0.5902 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.437e-05/0.9879, allocations: 55.7 kB / 0.5903 GB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.9886, allocations: 130.5 kB / 0.5904 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/0.9887, allocations: 68 kB / 0.5905 GB, free: 1.777 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.0001774/0.9889, allocations: 179.7 kB / 0.5907 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.989, allocations: 67.16 kB / 0.5907 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.9895, allocations: 263.5 kB / 0.591 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9895, allocations: 0 / 0.591 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9895, allocations: 0 / 0.591 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9895, allocations: 7.906 kB / 0.591 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.9902, allocations: 0.5213 MB / 0.5915 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9902, allocations: 3.938 kB / 0.5915 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.9904, allocations: 39.91 kB / 0.5915 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.9905, allocations: 7.906 kB / 0.5915 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.9905, allocations: 0 / 0.5915 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9905, allocations: 0 / 0.5915 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9905, allocations: 3.984 kB / 0.5915 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003622/0.9909, allocations: 342.7 kB / 0.5919 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005391/0.9914, allocations: 0.7138 MB / 0.5926 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.9916, allocations: 140.2 kB / 0.5927 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.9917, allocations: 7.938 kB / 0.5927 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.9919, allocations: 11.98 kB / 0.5927 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.992, allocations: 23.97 kB / 0.5927 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.992, allocations: 4 kB / 0.5928 GB, free: 15.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0005638/0.9926, allocations: 0.4913 MB / 0.5932 GB, free: 14.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001446/0.994, allocations: 219 kB / 0.5934 GB, free: 14.65 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.0001674/0.9942, allocations: 91.25 kB / 0.5935 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.995, allocations: 0.5374 MB / 0.5941 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.995, allocations: 4 kB / 0.5941 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.9952, allocations: 91.89 kB / 0.5941 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.9955, allocations: 54.92 kB / 0.5942 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.9977, allocations: 1.137 MB / 0.5953 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.9988, allocations: 1.237 MB / 0.5965 GB, free: 11.44 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9988, allocations: 0 / 0.5965 GB, free: 11.44 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)