Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.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.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",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.001112/0.001112, allocations: 183.8 kB / 7.803 MB, free: 2.176 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.364/1.364, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008939/0.0008939, allocations: 87.62 kB / 261.4 MB, free: 13.55 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.208/0.208, allocations: 43.5 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2261/0.4341, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.7884, allocations: 58.83 MB / 476.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.9468, allocations: 109.3 MB / 0.5723 GB, free: 5.609 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.9472, allocations: 75.95 kB / 0.5723 GB, free: 5.535 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.433/1.38, allocations: 75.6 MB / 0.6462 GB, free: 107.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.38, allocations: 7.219 kB / 0.6462 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/1.386, allocations: 0.7038 MB / 0.6469 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007517/1.393, allocations: 2.57 MB / 0.6494 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/1.394, allocations: 141.8 kB / 0.6495 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/1.395, allocations: 248.6 kB / 0.6497 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01139/1.407, allocations: 6.261 MB / 0.6559 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/1.423, allocations: 7.921 MB / 0.6636 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/1.423, allocations: 17.28 kB / 0.6636 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007588/1.424, allocations: 13.53 kB / 0.6636 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/1.425, allocations: 0.8789 MB / 0.6645 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0434/1.469, allocations: 30.4 MB / 0.6942 GB, free: 88.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/1.471, allocations: 1.963 MB / 0.6961 GB, free: 87.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/1.473, allocations: 1.474 MB / 0.6975 GB, free: 87.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/1.486, allocations: 8.69 MB / 0.706 GB, free: 81.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.486, allocations: 40.44 kB / 0.706 GB, free: 81.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 3.707e-06/1.486, allocations: 0 / 0.706 GB, free: 81.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.01891/1.505, allocations: 7.393 MB / 0.7133 GB, free: 78.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/1.505, allocations: 113.2 kB / 0.7134 GB, free: 78.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/1.509, allocations: 2.223 MB / 0.7155 GB, free: 77.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/1.509, allocations: 27.2 kB / 0.7156 GB, free: 77.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.511, allocations: 2.475 MB / 0.718 GB, free: 75.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000399/1.511, allocations: 388.3 kB / 0.7184 GB, free: 75.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.511, allocations: 1.188 kB / 0.7184 GB, free: 75.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/1.511, allocations: 481.7 kB / 0.7188 GB, free: 74.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/1.514, allocations: 1.336 MB / 0.7201 GB, free: 74.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/1.517, allocations: 3.78 MB / 0.7238 GB, free: 70.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/1.521, allocations: 2.236 MB / 0.726 GB, free: 69.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.683e-05/1.521, allocations: 25 kB / 0.726 GB, free: 69.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006847/1.527, allocations: 4.656 MB / 0.7306 GB, free: 65.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.527, allocations: 10.81 kB / 0.7306 GB, free: 65.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.386e-05/1.528, allocations: 88 kB / 0.7307 GB, free: 65.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/1.528, allocations: 128 kB / 0.7308 GB, free: 65.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/1.531, allocations: 1.009 MB / 0.7318 GB, free: 64.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.419e-05/1.531, allocations: 176.8 kB / 0.7319 GB, free: 64.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/1.534, allocations: 142.6 kB / 0.7321 GB, free: 64.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/1.534, allocations: 255.7 kB / 0.7323 GB, free: 64.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 400 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (537): * Single equations (assignments): 536 * Array equations: 1 * 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.0004747/1.535, allocations: 342.9 kB / 0.7326 GB, free: 63.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/1.535, allocations: 221.1 kB / 0.7329 GB, free: 63.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/1.538, allocations: 1.754 MB / 0.7346 GB, free: 61.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.538, allocations: 12 kB / 0.7346 GB, free: 61.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.538, allocations: 7.312 kB / 0.7346 GB, free: 61.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/1.538, allocations: 3.891 kB / 0.7346 GB, free: 61.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008374/1.546, allocations: 5.726 MB / 0.7402 GB, free: 56.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.546, allocations: 16 kB / 0.7402 GB, free: 56.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.547, allocations: 264.2 kB / 0.7405 GB, free: 56.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.456e-05/1.547, allocations: 28 kB / 0.7405 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/1.547, allocations: 20 kB / 0.7405 GB, free: 56.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-05/1.547, allocations: 31.5 kB / 0.7405 GB, free: 56.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/1.547, allocations: 23.88 kB / 0.7406 GB, free: 56.43 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002731/1.55, allocations: 3.547 MB / 0.744 GB, free: 52.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002819/1.553, allocations: 3.952 MB / 0.7479 GB, free: 47.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/1.554, allocations: 320.3 kB / 0.7482 GB, free: 47.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/1.554, allocations: 27.61 kB / 0.7482 GB, free: 47.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.555, allocations: 35.08 kB / 0.7482 GB, free: 47.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.555, allocations: 125.4 kB / 0.7484 GB, free: 47.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/1.555, allocations: 52 kB / 0.7484 GB, free: 47.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002136/1.557, allocations: 1.476 MB / 0.7499 GB, free: 45.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004587/1.562, allocations: 0.6637 MB / 0.7505 GB, free: 45.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * 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.0004371/1.562, allocations: 179 kB / 0.7507 GB, free: 45.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004699/1.567, allocations: 2.955 MB / 0.7536 GB, free: 42.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.567, allocations: 4 kB / 0.7536 GB, free: 42.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/1.568, allocations: 0.7908 MB / 0.7543 GB, free: 41.63 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/1.57, allocations: 223.7 kB / 0.7545 GB, free: 41.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.582, allocations: 6.255 MB / 0.7607 GB, free: 35.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004159/1.586, allocations: 3.236 MB / 0.7638 GB, free: 32.97 MB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/1.587, allocations: 0 / 0.7638 GB, free: 32.97 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)