Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",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 trunk/package.mo): time 0.00155/0.001551, allocations: 190.9 kB / 8.534 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009131/0.0009131, allocations: 91.44 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1738/0.1738, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1901/0.3639, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.4439, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.7677, allocations: 109.1 MB / 0.6104 GB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.768, allocations: 76.33 kB / 0.6105 GB, free: 10.16 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.1513/0.9193, allocations: 55.04 MB / 0.6642 GB, free: 11.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.9194, allocations: 12 kB / 0.6642 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.9212, allocations: 400.2 kB / 0.6646 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.9245, allocations: 1.489 MB / 0.6661 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.9246, allocations: 84 kB / 0.6662 GB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/0.9251, allocations: 159.9 kB / 0.6663 GB, free: 9.242 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005692/0.9308, allocations: 3.651 MB / 0.6699 GB, free: 5.586 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008133/0.939, allocations: 4.685 MB / 0.6745 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-05/0.9391, allocations: 19.81 kB / 0.6745 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.9394, allocations: 8 kB / 0.6745 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005955/0.94, allocations: 488.1 kB / 0.6749 GB, free: 84 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.9637, allocations: 19.15 MB / 0.6937 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.965, allocations: 0.8078 MB / 0.6944 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.9658, allocations: 0.6471 MB / 0.6951 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00607/0.9719, allocations: 4.511 MB / 0.6995 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.972, allocations: 47.2 kB / 0.6995 GB, free: 6.027 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.685e-06/0.972, allocations: 0 / 0.6995 GB, free: 6.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01782/0.9898, allocations: 5.233 MB / 0.7046 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.9899, allocations: 64.17 kB / 0.7047 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.9918, allocations: 1.379 MB / 0.706 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.9919, allocations: 25.7 kB / 0.7061 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008442/0.9927, allocations: 1.468 MB / 0.7075 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.993, allocations: 323.6 kB / 0.7078 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9931, allocations: 4 kB / 0.7078 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.9934, allocations: 468.2 kB / 0.7083 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.9948, allocations: 0.8448 MB / 0.7091 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.997, allocations: 2.343 MB / 0.7114 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/1, allocations: 1.62 MB / 0.713 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/1, allocations: 20 kB / 0.713 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005807/1.006, allocations: 3.127 MB / 0.716 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.006, allocations: 15.92 kB / 0.716 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/1.006, allocations: 56.78 kB / 0.7161 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-05/1.006, allocations: 80 kB / 0.7162 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/1.009, allocations: 0.6433 MB / 0.7168 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.668e-05/1.009, allocations: 107.6 kB / 0.7169 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.011, allocations: 75.86 kB / 0.717 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/1.011, allocations: 160 kB / 0.7171 GB, free: 3.168 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.revolute.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],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (342): * Single equations (assignments): 342 * 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.0003729/1.011, allocations: 263.6 kB / 0.7174 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.011, allocations: 142.1 kB / 0.7175 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/1.015, allocations: 1.539 MB / 0.719 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.015, allocations: 8 kB / 0.719 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.015, allocations: 3.984 kB / 0.719 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.015, allocations: 3.984 kB / 0.719 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/1.022, allocations: 3.956 MB / 0.7229 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.022, allocations: 8 kB / 0.7229 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.023, allocations: 192.2 kB / 0.7231 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.023, allocations: 8 kB / 0.7231 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/1.023, allocations: 4 kB / 0.7231 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/1.024, allocations: 15.92 kB / 0.7231 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.024, allocations: 7.906 kB / 0.7231 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002635/1.026, allocations: 1.799 MB / 0.7249 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002759/1.029, allocations: 2.201 MB / 0.727 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/1.029, allocations: 211.2 kB / 0.7272 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/1.03, allocations: 12 kB / 0.7272 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/1.03, allocations: 23.97 kB / 0.7273 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.03, allocations: 60.42 kB / 0.7273 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/1.03, allocations: 28 kB / 0.7273 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001347/1.032, allocations: 0.9233 MB / 0.7282 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002694/1.035, allocations: 459.9 kB / 0.7287 GB, free: 6.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0003892/1.035, allocations: 186.8 kB / 0.7289 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00293/1.038, allocations: 1.953 MB / 0.7308 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.038, allocations: 0 / 0.7308 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/1.039, allocations: 0.5783 MB / 0.7313 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/1.04, allocations: 174.9 kB / 0.7315 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/1.047, allocations: 3.688 MB / 0.7351 GB, free: 92 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/1.05, allocations: 2.244 MB / 0.7373 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/1.05, allocations: 4 kB / 0.7373 GB, free: 13.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)