Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001518/0.001518, allocations: 194.9 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001195, allocations: 87.55 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 45.15 MB / 383.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/0.4188, allocations: 69.35 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07819/0.497, allocations: 63.24 MB / 0.5039 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.267/0.764, allocations: 96.08 MB / 0.5977 GB, free: 6.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.7642, allocations: 78.23 kB / 0.5978 GB, free: 6.887 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.03566/0.7999, allocations: 13.56 MB / 0.611 GB, free: 11.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7999, allocations: 12 kB / 0.611 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.8012, allocations: 206.7 kB / 0.6112 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.8021, allocations: 0.4908 MB / 0.6117 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.8021, allocations: 24 kB / 0.6117 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.8022, allocations: 39.98 kB / 0.6118 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000958/0.8032, allocations: 0.6791 MB / 0.6124 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.8047, allocations: 1.164 MB / 0.6136 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.8047, allocations: 11.88 kB / 0.6136 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.8048, allocations: 4 kB / 0.6136 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.8049, allocations: 111.5 kB / 0.6137 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.8093, allocations: 5.8 MB / 0.6193 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.868e-05/0.8094, allocations: 44.8 kB / 0.6194 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.8095, allocations: 43.45 kB / 0.6194 GB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.8095, allocations: 0 / 0.6194 GB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.8095, allocations: 30.56 kB / 0.6195 GB, free: 3.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.8095, allocations: 0 / 0.6195 GB, free: 3.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000279/0.8098, allocations: 141.3 kB / 0.6196 GB, free: 3.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8099, allocations: 59.41 kB / 0.6196 GB, free: 3.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007089/0.8106, allocations: 0.6282 MB / 0.6203 GB, free: 2.609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.8106, allocations: 29.69 kB / 0.6203 GB, free: 2.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.8109, allocations: 0.4886 MB / 0.6208 GB, free: 2.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.8109, allocations: 30.86 kB / 0.6208 GB, free: 2.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.8109, allocations: 0 / 0.6208 GB, free: 2.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8111, allocations: 370.1 kB / 0.6211 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.8113, allocations: 157.3 kB / 0.6213 GB, free: 1.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.8119, allocations: 0.6961 MB / 0.622 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.8122, allocations: 314.2 kB / 0.6223 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.8123, allocations: 8 kB / 0.6223 GB, free: 500 kB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001041/0.8133, allocations: 0.7071 MB / 0.623 GB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8133, allocations: 16.81 kB / 0.623 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.8134, allocations: 20 kB / 0.623 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.8134, allocations: 32 kB / 0.623 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.8139, allocations: 183 kB / 0.6232 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/0.814, allocations: 35.86 kB / 0.6232 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.8145, allocations: 95.02 kB / 0.6233 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.8146, allocations: 45.38 kB / 0.6234 GB, free: 15.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (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.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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 (92): * Single equations (assignments): 92 * 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.000125/0.8147, allocations: 170.1 kB / 0.6235 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.8148, allocations: 55.25 kB / 0.6236 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.389e-05/0.8149, allocations: 53.42 kB / 0.6236 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8149, allocations: 4 kB / 0.6237 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8149, allocations: 0 / 0.6237 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8149, allocations: 3.938 kB / 0.6237 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.8154, allocations: 412.1 kB / 0.624 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8154, allocations: 4 kB / 0.6241 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.8155, allocations: 19.92 kB / 0.6241 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.8155, allocations: 3.953 kB / 0.6241 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8156, allocations: 3.984 kB / 0.6241 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8156, allocations: 0 / 0.6241 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8156, allocations: 0 / 0.6241 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002604/0.8158, allocations: 244 kB / 0.6243 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003419/0.8162, allocations: 0.613 MB / 0.6249 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.8163, allocations: 130.4 kB / 0.625 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.8164, allocations: 3.938 kB / 0.625 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.8166, allocations: 12 kB / 0.6251 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.8167, allocations: 8.484 kB / 0.6251 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.8167, allocations: 0 / 0.6251 GB, free: 13.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006214/0.8173, allocations: 448.5 kB / 0.6255 GB, free: 13.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001379/0.8187, allocations: 151.9 kB / 0.6256 GB, free: 13.29 MB / 426.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 (3): * Single equations (assignments): 3 * 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.0001502/0.8189, allocations: 95.69 kB / 0.6257 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.8194, allocations: 364.2 kB / 0.6261 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8195, allocations: 0 / 0.6261 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.99e-05/0.8195, allocations: 34.09 kB / 0.6261 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.82, allocations: 88.89 kB / 0.6262 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.8216, allocations: 0.8291 MB / 0.627 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/0.8224, allocations: 1.082 MB / 0.6281 GB, free: 10.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8224, allocations: 0 / 0.6281 GB, free: 10.99 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)