Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.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.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",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.00115/0.00115, allocations: 199.8 kB / 8.542 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008848/0.0008849, allocations: 97.61 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1672/0.1672, allocations: 45.14 MB / 383.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.19/0.3572, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.4391, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.6936, allocations: 98.53 MB / 0.6001 GB, free: 4.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.6938, allocations: 73.58 kB / 0.6002 GB, free: 4.363 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: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.1955/0.8893, allocations: 77.52 MB / 0.6759 GB, free: 15.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8894, allocations: 12 kB / 0.6759 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.9029, allocations: 2.67 MB / 0.6785 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005986/0.909, allocations: 2.442 MB / 0.6809 GB, free: 9.934 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.9091, allocations: 120 kB / 0.681 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009613/0.9101, allocations: 204 kB / 0.6812 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01016/0.9203, allocations: 6.797 MB / 0.6878 GB, free: 2.816 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.9348, allocations: 8.984 MB / 0.6966 GB, free: 9.477 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.189e-05/0.9349, allocations: 15.88 kB / 0.6966 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/0.9354, allocations: 12 kB / 0.6966 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001198/0.9366, allocations: 1.171 MB / 0.6978 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04796/0.9845, allocations: 33.13 MB / 0.7301 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.9873, allocations: 2.691 MB / 0.7327 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.9885, allocations: 0.9111 MB / 0.7336 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.9898, allocations: 1.63 MB / 0.7352 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.9898, allocations: 47.59 kB / 0.7353 GB, free: 8 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=164): time 5.641e-06/0.9899, allocations: 4 kB / 0.7353 GB, free: 4 kB / 0.5105 GB Notification: Performance of matching and sorting (n=164): time 0.004656/0.9945, allocations: 2.305 MB / 0.7375 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.9946, allocations: 90.11 kB / 0.7376 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.9976, allocations: 2.308 MB / 0.7399 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.9977, allocations: 25.7 kB / 0.7399 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.999, allocations: 2.679 MB / 0.7425 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/0.9995, allocations: 0.5976 MB / 0.7431 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.9996, allocations: 0 / 0.7431 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003112/0.9999, allocations: 0.5249 MB / 0.7436 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/1.002, allocations: 1.447 MB / 0.745 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1762/1.178, allocations: 4.572 MB / 0.7495 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/1.182, allocations: 2.666 MB / 0.7521 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/1.182, allocations: 31.81 kB / 0.7521 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.007389/1.189, allocations: 5.331 MB / 0.7573 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.189, allocations: 3.969 kB / 0.7573 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.539e-05/1.189, allocations: 114.2 kB / 0.7574 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/1.189, allocations: 168.1 kB / 0.7576 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.192, allocations: 1.132 MB / 0.7587 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-05/1.193, allocations: 227.5 kB / 0.7589 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/1.195, allocations: 0.5566 MB / 0.7595 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003785/1.196, allocations: 337.2 kB / 0.7598 GB, free: 110.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (619): * Single equations (assignments): 613 * Array equations: 6 * 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.0004259/1.196, allocations: 380.2 kB / 0.7601 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/1.196, allocations: 242 kB / 0.7604 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.199, allocations: 2.142 MB / 0.7625 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.486e-05/1.199, allocations: 11.22 kB / 0.7625 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.199, allocations: 0 / 0.7625 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.199, allocations: 3.75 kB / 0.7625 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008179/1.207, allocations: 6.695 MB / 0.769 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.207, allocations: 7.125 kB / 0.769 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/1.208, allocations: 203.4 kB / 0.7692 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/1.208, allocations: 17.81 kB / 0.7692 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/1.208, allocations: 26.5 kB / 0.7693 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/1.208, allocations: 22.12 kB / 0.7693 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.208, allocations: 14.66 kB / 0.7693 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002305/1.211, allocations: 3.224 MB / 0.7724 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002349/1.213, allocations: 3.629 MB / 0.776 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/1.213, allocations: 336.2 kB / 0.7763 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/1.214, allocations: 20.02 kB / 0.7763 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/1.214, allocations: 29.23 kB / 0.7764 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.215, allocations: 88.55 kB / 0.7764 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/1.215, allocations: 63.7 kB / 0.7765 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001744/1.216, allocations: 1.544 MB / 0.778 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004073/1.221, allocations: 0.9568 MB / 0.7789 GB, free: 104.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 110 * Array equations: 6 * 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.0002733/1.221, allocations: 146.6 kB / 0.7791 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003602/1.224, allocations: 3.449 MB / 0.7824 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.224, allocations: 3.781 kB / 0.7824 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008888/1.225, allocations: 0.9518 MB / 0.7834 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008587/1.226, allocations: 215.8 kB / 0.7836 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.254, allocations: 15.8 MB / 0.799 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003655/1.257, allocations: 3.453 MB / 0.8024 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/1.257, allocations: 0 / 0.8024 GB, free: 101.2 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1)