Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 174.5 kB / 8.519 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.4 MB / 230.3 MB, free: 7.664 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 94.53 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.185/0.185, allocations: 44.15 MB / 376.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1701/0.3551, allocations: 68.03 MB / 444.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.4455, allocations: 61.91 MB / 0.4942 GB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2665/0.712, allocations: 111 MB / 0.6026 GB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.7123, allocations: 75.95 kB / 0.6027 GB, free: 1.402 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.1678/0.8801, allocations: 67.79 MB / 0.6689 GB, free: 13.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.8801, allocations: 15.94 kB / 0.6689 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.8839, allocations: 0.6195 MB / 0.6695 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005246/0.8891, allocations: 2.403 MB / 0.6718 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.8893, allocations: 120 kB / 0.6719 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006171/0.8899, allocations: 212 kB / 0.6721 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009446/0.8993, allocations: 5.651 MB / 0.6777 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.9124, allocations: 7.061 MB / 0.6846 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.186e-05/0.9125, allocations: 15.81 kB / 0.6846 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006976/0.9132, allocations: 12 kB / 0.6846 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009023/0.9141, allocations: 0.709 MB / 0.6853 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1617/1.076, allocations: 27.43 MB / 0.7121 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.078, allocations: 1.969 MB / 0.714 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/1.08, allocations: 1.482 MB / 0.7154 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0091/1.089, allocations: 8.361 MB / 0.7236 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.089, allocations: 41.91 kB / 0.7236 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=84): time 3.316e-06/1.089, allocations: 0 / 0.7236 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.01416/1.103, allocations: 6.089 MB / 0.7296 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/1.103, allocations: 59.91 kB / 0.7296 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/1.105, allocations: 2.027 MB / 0.7316 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/1.106, allocations: 29.48 kB / 0.7317 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007071/1.106, allocations: 2.072 MB / 0.7337 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.107, allocations: 386 kB / 0.734 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.107, allocations: 0 / 0.734 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.107, allocations: 462.5 kB / 0.7345 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.108, allocations: 1.268 MB / 0.7357 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/1.111, allocations: 3.349 MB / 0.739 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/1.113, allocations: 2.055 MB / 0.741 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/1.113, allocations: 25.41 kB / 0.741 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.005499/1.118, allocations: 4.267 MB / 0.7452 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.118, allocations: 6.5 kB / 0.7452 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.685e-05/1.119, allocations: 75.28 kB / 0.7453 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.43e-05/1.119, allocations: 110.2 kB / 0.7454 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/1.122, allocations: 0.8693 MB / 0.7462 GB, free: 161.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.52e-05/1.122, allocations: 146.7 kB / 0.7464 GB, free: 161.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/1.124, allocations: 140.5 kB / 0.7465 GB, free: 161.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/1.124, allocations: 222.7 kB / 0.7467 GB, free: 161.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (474): * Single equations (assignments): 473 * 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.0003939/1.125, allocations: 327 kB / 0.747 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/1.125, allocations: 192 kB / 0.7472 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/1.127, allocations: 1.804 MB / 0.749 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.127, allocations: 10.56 kB / 0.749 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.127, allocations: 5.359 kB / 0.749 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.127, allocations: 6.562 kB / 0.749 GB, free: 160 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006778/1.134, allocations: 5.295 MB / 0.7542 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.134, allocations: 15.12 kB / 0.7542 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.135, allocations: 260.5 kB / 0.7544 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/1.135, allocations: 30.31 kB / 0.7545 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/1.135, allocations: 25.5 kB / 0.7545 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/1.136, allocations: 38.08 kB / 0.7545 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.136, allocations: 23.03 kB / 0.7545 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002315/1.138, allocations: 3.373 MB / 0.7578 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002144/1.14, allocations: 3.777 MB / 0.7615 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/1.14, allocations: 303.3 kB / 0.7618 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.141, allocations: 29.89 kB / 0.7618 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.142, allocations: 36.61 kB / 0.7619 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.142, allocations: 114.7 kB / 0.762 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/1.142, allocations: 57 kB / 0.762 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00185/1.144, allocations: 1.348 MB / 0.7634 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003662/1.148, allocations: 0.5953 MB / 0.7639 GB, free: 149.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * 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.000309/1.148, allocations: 182.9 kB / 0.7641 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003742/1.152, allocations: 2.788 MB / 0.7668 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.152, allocations: 2.062 kB / 0.7668 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000937/1.153, allocations: 0.7998 MB / 0.7676 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.154, allocations: 260.1 kB / 0.7679 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008834/1.163, allocations: 5.611 MB / 0.7733 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/1.166, allocations: 2.932 MB / 0.7762 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/1.166, allocations: 4 kB / 0.7762 GB, free: 141.2 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)