Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",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.001924/0.001924, allocations: 185.1 kB / 7.802 MB, free: 2.441 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.469/1.469, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.000913/0.000913, allocations: 98.47 kB / 261.4 MB, free: 13.57 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.2008/0.2008, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2045/0.4054, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.7191, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.8657, allocations: 105.6 MB / 0.5687 GB, free: 9.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004743/0.8663, allocations: 79.95 kB / 0.5687 GB, free: 9.176 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.1422/1.009, allocations: 55.61 MB / 0.623 GB, free: 1.062 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.009, allocations: 12 kB / 0.623 GB, free: 1.051 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/1.012, allocations: 431.9 kB / 0.6235 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/1.016, allocations: 1.532 MB / 0.625 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/1.016, allocations: 95.91 kB / 0.625 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/1.018, allocations: 164 kB / 0.6252 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007521/1.025, allocations: 3.465 MB / 0.6286 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/1.036, allocations: 4.726 MB / 0.6332 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/1.036, allocations: 15.88 kB / 0.6332 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006674/1.037, allocations: 8 kB / 0.6332 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009668/1.038, allocations: 0.5005 MB / 0.6337 GB, free: 5.758 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2618/1.3, allocations: 18.43 MB / 0.6517 GB, free: 91.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/1.301, allocations: 0.6167 MB / 0.6523 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/1.301, allocations: 336.3 kB / 0.6526 GB, free: 91.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.303, allocations: 1.756 MB / 0.6543 GB, free: 90.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/1.303, allocations: 42.06 kB / 0.6544 GB, free: 90.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.867e-06/1.303, allocations: 2.562 kB / 0.6544 GB, free: 90.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.01126/1.314, allocations: 3.995 MB / 0.6583 GB, free: 89.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/1.314, allocations: 94.61 kB / 0.6584 GB, free: 89.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/1.316, allocations: 1.398 MB / 0.6597 GB, free: 89.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/1.316, allocations: 25.7 kB / 0.6598 GB, free: 89.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006566/1.316, allocations: 1.605 MB / 0.6613 GB, free: 88.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/1.317, allocations: 336 kB / 0.6617 GB, free: 88.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/1.317, allocations: 0 / 0.6617 GB, free: 88.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/1.317, allocations: 480 kB / 0.6621 GB, free: 87.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/1.318, allocations: 0.7099 MB / 0.6628 GB, free: 87.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/1.319, allocations: 2.295 MB / 0.6651 GB, free: 85.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/1.321, allocations: 1.452 MB / 0.6665 GB, free: 85.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/1.321, allocations: 14.94 kB / 0.6665 GB, free: 85.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.004179/1.325, allocations: 2.871 MB / 0.6693 GB, free: 85.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.326, allocations: 7.281 kB / 0.6693 GB, free: 85.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/1.326, allocations: 58.09 kB / 0.6694 GB, free: 85.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-05/1.326, allocations: 84.78 kB / 0.6694 GB, free: 85.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.328, allocations: 0.6531 MB / 0.6701 GB, free: 85.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.557e-05/1.328, allocations: 112.8 kB / 0.6702 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/1.329, allocations: 67.2 kB / 0.6702 GB, free: 85.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/1.329, allocations: 166.8 kB / 0.6704 GB, free: 85.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (359): * Single equations (assignments): 359 * 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.0003028/1.33, allocations: 271.3 kB / 0.6707 GB, free: 85.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/1.33, allocations: 145.5 kB / 0.6708 GB, free: 85.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/1.332, allocations: 1.209 MB / 0.672 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.332, allocations: 9.312 kB / 0.672 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.332, allocations: 0 / 0.672 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.332, allocations: 3.328 kB / 0.672 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007154/1.339, allocations: 4.629 MB / 0.6765 GB, free: 83.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.339, allocations: 16.56 kB / 0.6765 GB, free: 83.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/1.34, allocations: 177.1 kB / 0.6767 GB, free: 83.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/1.34, allocations: 21.34 kB / 0.6767 GB, free: 83.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/1.34, allocations: 17.69 kB / 0.6767 GB, free: 83.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791e-05/1.34, allocations: 27.59 kB / 0.6768 GB, free: 83.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/1.34, allocations: 29.16 kB / 0.6768 GB, free: 83.87 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002312/1.343, allocations: 2.401 MB / 0.6791 GB, free: 81.91 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002336/1.345, allocations: 2.794 MB / 0.6819 GB, free: 79.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/1.345, allocations: 231 kB / 0.6821 GB, free: 79.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.346, allocations: 21.11 kB / 0.6821 GB, free: 79.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/1.346, allocations: 17.5 kB / 0.6821 GB, free: 79.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.346, allocations: 90.11 kB / 0.6822 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/1.346, allocations: 46.25 kB / 0.6822 GB, free: 79.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001372/1.348, allocations: 0.9363 MB / 0.6832 GB, free: 79.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003222/1.351, allocations: 439.5 kB / 0.6836 GB, free: 79.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.0004168/1.352, allocations: 182.3 kB / 0.6838 GB, free: 79.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002697/1.354, allocations: 1.656 MB / 0.6854 GB, free: 78.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.354, allocations: 3.969 kB / 0.6854 GB, free: 78.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/1.355, allocations: 427.7 kB / 0.6858 GB, free: 78.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/1.356, allocations: 161.7 kB / 0.6859 GB, free: 78.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/1.364, allocations: 3.973 MB / 0.6898 GB, free: 77.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003037/1.367, allocations: 2.358 MB / 0.6921 GB, free: 76.83 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/1.367, allocations: 0.875 kB / 0.6921 GB, free: 76.83 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)