Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",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.001046/0.001046, allocations: 174.8 kB / 8.517 MB, free: 1.832 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.208/1.208, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.0009156/0.0009156, allocations: 88.67 kB / 281.2 MB, free: 5.531 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.1649/0.1649, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1773/0.3422, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.4337, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/0.7006, allocations: 110.5 MB / 0.6021 GB, free: 2.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.7009, allocations: 71.97 kB / 0.6022 GB, free: 2.082 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.1629/0.8638, allocations: 66.05 MB / 0.6667 GB, free: 15.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8638, allocations: 11.94 kB / 0.6667 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.8673, allocations: 0.6039 MB / 0.6673 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.8729, allocations: 2.419 MB / 0.6697 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.8731, allocations: 120 kB / 0.6698 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006959/0.8738, allocations: 212 kB / 0.67 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007913/0.8817, allocations: 5.218 MB / 0.6751 GB, free: 7.035 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009593/0.8913, allocations: 6.681 MB / 0.6816 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.719e-05/0.8914, allocations: 15.88 kB / 0.6816 GB, free: 0 / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.8918, allocations: 8.047 kB / 0.6816 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000779/0.8926, allocations: 0.6544 MB / 0.6823 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1647/1.057, allocations: 24.76 MB / 0.7064 GB, free: 175.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/1.059, allocations: 1.14 MB / 0.7076 GB, free: 175.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/1.06, allocations: 0.7974 MB / 0.7083 GB, free: 175.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006641/1.066, allocations: 5.897 MB / 0.7141 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/1.066, allocations: 44.34 kB / 0.7141 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/1.066, allocations: 0 / 0.7141 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79): time 0.008757/1.075, allocations: 4.201 MB / 0.7182 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/1.075, allocations: 113.7 kB / 0.7183 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/1.077, allocations: 1.906 MB / 0.7202 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/1.077, allocations: 29.3 kB / 0.7202 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/1.078, allocations: 2.066 MB / 0.7222 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/1.078, allocations: 321.9 kB / 0.7226 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.546e-05/1.078, allocations: 0 / 0.7226 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.079, allocations: 445.2 kB / 0.723 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009835/1.08, allocations: 0.8374 MB / 0.7238 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.081, allocations: 2.907 MB / 0.7266 GB, free: 166.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/1.083, allocations: 1.547 MB / 0.7281 GB, free: 166.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/1.083, allocations: 26.34 kB / 0.7282 GB, free: 166.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.003968/1.087, allocations: 3.28 MB / 0.7314 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.087, allocations: 3.719 kB / 0.7314 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.214e-05/1.087, allocations: 75.44 kB / 0.7315 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.448e-05/1.087, allocations: 112.5 kB / 0.7316 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/1.089, allocations: 0.783 MB / 0.7323 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.854e-05/1.089, allocations: 153.4 kB / 0.7325 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.091, allocations: 102.6 kB / 0.7326 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/1.092, allocations: 207.3 kB / 0.7328 GB, free: 166.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (436): * Single equations (assignments): 435 * 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.0003355/1.092, allocations: 313.8 kB / 0.7331 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/1.092, allocations: 188.8 kB / 0.7332 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.094, allocations: 0.9934 MB / 0.7342 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.094, allocations: 7.812 kB / 0.7342 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.094, allocations: 3.875 kB / 0.7342 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.094, allocations: 3.891 kB / 0.7342 GB, free: 166 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/1.099, allocations: 4.338 MB / 0.7385 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.099, allocations: 17.81 kB / 0.7385 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/1.1, allocations: 234.3 kB / 0.7387 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/1.1, allocations: 27.19 kB / 0.7387 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/1.1, allocations: 21 kB / 0.7388 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/1.1, allocations: 37.11 kB / 0.7388 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/1.1, allocations: 30.5 kB / 0.7388 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00166/1.101, allocations: 3.299 MB / 0.742 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001641/1.103, allocations: 3.691 MB / 0.7456 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/1.103, allocations: 287.2 kB / 0.7459 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/1.104, allocations: 27.22 kB / 0.7459 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/1.104, allocations: 27.66 kB / 0.746 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.105, allocations: 116.7 kB / 0.7461 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/1.105, allocations: 53.84 kB / 0.7461 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001491/1.106, allocations: 1.274 MB / 0.7474 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003307/1.109, allocations: 0.5221 MB / 0.7479 GB, free: 157.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.0002975/1.11, allocations: 179 kB / 0.7481 GB, free: 157 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002537/1.112, allocations: 1.985 MB / 0.75 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.112, allocations: 11.72 kB / 0.75 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/1.113, allocations: 0.5176 MB / 0.7505 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.114, allocations: 278.2 kB / 0.7508 GB, free: 156 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/1.122, allocations: 5.289 MB / 0.7559 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/1.125, allocations: 2.91 MB / 0.7588 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/1.125, allocations: 0.5625 kB / 0.7588 GB, free: 152.3 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)