Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009978/0.0009978, allocations: 179.4 kB / 8.517 MB, free: 1.855 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.184/1.184, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.000913/0.000913, allocations: 88.72 kB / 281.2 MB, free: 5.441 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.163/0.163, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1824/0.3455, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.4424, allocations: 61.9 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2765/0.7189, allocations: 107.2 MB / 0.5988 GB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.7192, allocations: 76.81 kB / 0.5989 GB, free: 5.398 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.1342/0.8534, allocations: 52.94 MB / 0.6506 GB, free: 52 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8535, allocations: 11.94 kB / 0.6506 GB, free: 40 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.8556, allocations: 400.3 kB / 0.651 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.8592, allocations: 1.473 MB / 0.6525 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.8594, allocations: 87.91 kB / 0.6525 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006088/0.86, allocations: 152 kB / 0.6527 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00543/0.8654, allocations: 3.217 MB / 0.6558 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007659/0.8731, allocations: 4.371 MB / 0.6601 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.208e-05/0.8732, allocations: 23.86 kB / 0.6601 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/0.8736, allocations: 11.98 kB / 0.6601 GB, free: 5.953 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005615/0.8742, allocations: 428.1 kB / 0.6605 GB, free: 5.531 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.8933, allocations: 17.28 MB / 0.6774 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.8944, allocations: 0.5817 MB / 0.678 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.8948, allocations: 338.2 kB / 0.6783 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.8963, allocations: 1.758 MB / 0.68 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.8963, allocations: 43.06 kB / 0.6801 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.935e-06/0.8963, allocations: 0 / 0.6801 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of matching and sorting (n=91): time 0.01122/0.9076, allocations: 3.554 MB / 0.6835 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.9076, allocations: 68.19 kB / 0.6836 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.9093, allocations: 1.315 MB / 0.6849 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.9094, allocations: 29.7 kB / 0.6849 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007801/0.9102, allocations: 1.438 MB / 0.6863 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.9104, allocations: 339.5 kB / 0.6866 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.9105, allocations: 0 / 0.6866 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002653/0.9108, allocations: 460.1 kB / 0.6871 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.9118, allocations: 0.6767 MB / 0.6877 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.9138, allocations: 2.111 MB / 0.6898 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.9161, allocations: 1.374 MB / 0.6911 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/0.9161, allocations: 16 kB / 0.6911 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004613/0.9208, allocations: 2.697 MB / 0.6938 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9208, allocations: 4 kB / 0.6938 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.915e-05/0.9209, allocations: 56.84 kB / 0.6938 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.559e-05/0.9209, allocations: 76 kB / 0.6939 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.923, allocations: 0.5927 MB / 0.6945 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-05/0.9231, allocations: 103.6 kB / 0.6946 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.9246, allocations: 63.8 kB / 0.6947 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.9249, allocations: 152.1 kB / 0.6948 GB, free: 0.832 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 234 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.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],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 (332): * Single equations (assignments): 332 * 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.0003241/0.9252, allocations: 259.6 kB / 0.695 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.9255, allocations: 142.1 kB / 0.6952 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.9278, allocations: 1.182 MB / 0.6963 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.9279, allocations: 12 kB / 0.6963 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9279, allocations: 0 / 0.6963 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.9279, allocations: 3.984 kB / 0.6963 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007368/0.9353, allocations: 4.453 MB / 0.7007 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.9353, allocations: 15.94 kB / 0.7007 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/0.936, allocations: 187.8 kB / 0.7009 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/0.936, allocations: 20 kB / 0.7009 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.9361, allocations: 20 kB / 0.7009 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.9361, allocations: 23.92 kB / 0.701 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/0.9361, allocations: 27.78 kB / 0.701 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002438/0.9386, allocations: 2.359 MB / 0.7033 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002453/0.941, allocations: 2.761 MB / 0.706 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.9414, allocations: 219.3 kB / 0.7062 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.9416, allocations: 23.89 kB / 0.7062 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.9422, allocations: 16 kB / 0.7062 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.9423, allocations: 87.67 kB / 0.7063 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.9424, allocations: 44 kB / 0.7064 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001377/0.9438, allocations: 0.8872 MB / 0.7072 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002574/0.9464, allocations: 411.9 kB / 0.7076 GB, free: 2.062 MB / 0.5105 GB 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.0003566/0.9467, allocations: 170.8 kB / 0.7078 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002314/0.949, allocations: 1.578 MB / 0.7093 GB, free: 332 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.9491, allocations: 8 kB / 0.7093 GB, free: 324 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.1334/1.082, allocations: 429.8 kB / 0.7097 GB, free: 212.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/1.084, allocations: 184.2 kB / 0.7099 GB, free: 212.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/1.09, allocations: 3.72 MB / 0.7135 GB, free: 211.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/1.092, allocations: 2.24 MB / 0.7157 GB, free: 210.7 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/1.092, allocations: 0 / 0.7157 GB, free: 210.7 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)