Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 173.8 kB / 8.515 MB, free: 1.852 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.341/1.341, allocations: 221.4 MB / 230.3 MB, free: 7.758 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.0009057/0.0009059, allocations: 95.67 kB / 281.2 MB, free: 5.512 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.1651/0.1651, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1708/0.3359, allocations: 68.04 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.4276, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.6958, allocations: 108.1 MB / 0.5997 GB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.696, allocations: 76.62 kB / 0.5998 GB, free: 4.578 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.1441/0.8401, allocations: 54.95 MB / 0.6534 GB, free: 13.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8402, allocations: 11.94 kB / 0.6534 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.8423, allocations: 400.2 kB / 0.6538 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.8458, allocations: 1.485 MB / 0.6553 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/0.8459, allocations: 87.94 kB / 0.6554 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005803/0.8465, allocations: 151.9 kB / 0.6555 GB, free: 11.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006086/0.8526, allocations: 3.651 MB / 0.6591 GB, free: 7.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007334/0.8599, allocations: 4.692 MB / 0.6637 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/0.86, allocations: 11.88 kB / 0.6637 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.8603, allocations: 12 kB / 0.6637 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006161/0.8609, allocations: 488.1 kB / 0.6641 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/0.8829, allocations: 19.14 MB / 0.6828 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.8841, allocations: 0.8039 MB / 0.6836 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008341/0.8849, allocations: 0.6587 MB / 0.6843 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005916/0.8909, allocations: 4.507 MB / 0.6887 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.8909, allocations: 43.25 kB / 0.6887 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 2.896e-06/0.8909, allocations: 0 / 0.6887 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01714/0.9081, allocations: 5.237 MB / 0.6938 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.9081, allocations: 64.19 kB / 0.6939 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.91, allocations: 1.375 MB / 0.6952 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.9101, allocations: 25.7 kB / 0.6953 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008573/0.911, allocations: 1.472 MB / 0.6967 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.9113, allocations: 327.6 kB / 0.697 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.9114, allocations: 0 / 0.697 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002463/0.9116, allocations: 464.2 kB / 0.6974 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.9129, allocations: 0.8487 MB / 0.6983 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.9151, allocations: 2.343 MB / 0.7006 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.9179, allocations: 1.62 MB / 0.7021 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.9179, allocations: 16 kB / 0.7022 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005266/0.9232, allocations: 3.139 MB / 0.7052 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9232, allocations: 4 kB / 0.7052 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.881e-05/0.9233, allocations: 52 kB / 0.7053 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.457e-05/0.9234, allocations: 80 kB / 0.7054 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.9258, allocations: 0.6395 MB / 0.706 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.524e-05/0.9258, allocations: 103.9 kB / 0.7061 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.9274, allocations: 87.77 kB / 0.7062 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.9277, allocations: 156 kB / 0.7063 GB, free: 4.969 MB / 0.5105 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.0003355/0.928, allocations: 255.5 kB / 0.7066 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.9282, allocations: 142.1 kB / 0.7067 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.9311, allocations: 1.558 MB / 0.7082 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.9311, allocations: 8 kB / 0.7082 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9311, allocations: 0 / 0.7082 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.9311, allocations: 3.984 kB / 0.7082 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1332/1.064, allocations: 3.942 MB / 0.7121 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.064, allocations: 3.906 kB / 0.7121 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.065, allocations: 192.1 kB / 0.7123 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.066, allocations: 11.59 kB / 0.7123 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/1.066, allocations: 11.38 kB / 0.7123 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/1.066, allocations: 14.27 kB / 0.7123 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.066, allocations: 6.844 kB / 0.7123 GB, free: 207.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002115/1.068, allocations: 1.798 MB / 0.7141 GB, free: 207.3 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002128/1.07, allocations: 2.195 MB / 0.7162 GB, free: 206.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/1.07, allocations: 216 kB / 0.7164 GB, free: 206.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.07, allocations: 10.36 kB / 0.7164 GB, free: 206.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007247/1.071, allocations: 23.28 kB / 0.7164 GB, free: 206.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.071, allocations: 59.97 kB / 0.7165 GB, free: 206.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/1.071, allocations: 33.12 kB / 0.7165 GB, free: 206.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001096/1.072, allocations: 0.9251 MB / 0.7174 GB, free: 206.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002415/1.075, allocations: 449.2 kB / 0.7179 GB, free: 206.1 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.0003446/1.075, allocations: 163.3 kB / 0.718 GB, free: 206.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002261/1.077, allocations: 1.965 MB / 0.7199 GB, free: 206 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.077, allocations: 0 / 0.7199 GB, free: 206 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006101/1.078, allocations: 0.5713 MB / 0.7205 GB, free: 206 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/1.079, allocations: 173.7 kB / 0.7207 GB, free: 206 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/1.084, allocations: 3.698 MB / 0.7243 GB, free: 205.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.087, allocations: 2.234 MB / 0.7265 GB, free: 204.4 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/1.087, allocations: 3.969 kB / 0.7265 GB, free: 204.4 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)