Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",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.001332/0.001332, allocations: 185.4 kB / 7.806 MB, free: 2.488 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.196/1.196, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001018/0.001018, allocations: 100.8 kB / 261.4 MB, free: 13.6 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.1648/0.1648, allocations: 43.48 MB / 352.8 MB, free: 2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2249/0.3897, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.757, allocations: 58.85 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.9167, allocations: 107.4 MB / 0.5703 GB, free: 7.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.9171, allocations: 71.97 kB / 0.5704 GB, free: 7.418 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.4693/1.386, allocations: 77.56 MB / 0.6462 GB, free: 110.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.387, allocations: 7.094 kB / 0.6462 GB, free: 110.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/1.392, allocations: 0.6385 MB / 0.6468 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/1.399, allocations: 2.223 MB / 0.649 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/1.399, allocations: 125.5 kB / 0.6491 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/1.402, allocations: 221.1 kB / 0.6493 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0118/1.413, allocations: 5.57 MB / 0.6547 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/1.435, allocations: 7.227 MB / 0.6618 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/1.435, allocations: 20.69 kB / 0.6618 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/1.437, allocations: 7.875 kB / 0.6618 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001782/1.438, allocations: 0.8604 MB / 0.6627 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04468/1.483, allocations: 27.84 MB / 0.6898 GB, free: 93.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/1.485, allocations: 1.358 MB / 0.6912 GB, free: 92.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/1.486, allocations: 1.031 MB / 0.6922 GB, free: 92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/1.497, allocations: 7.395 MB / 0.6994 GB, free: 87.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.497, allocations: 49.47 kB / 0.6994 GB, free: 87.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=74): time 4.499e-06/1.497, allocations: 0 / 0.6994 GB, free: 87.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=87): time 0.02035/1.518, allocations: 5.882 MB / 0.7052 GB, free: 84.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/1.518, allocations: 142 kB / 0.7053 GB, free: 84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005048/1.523, allocations: 2.026 MB / 0.7073 GB, free: 83.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/1.523, allocations: 29.98 kB / 0.7073 GB, free: 83.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/1.525, allocations: 2.377 MB / 0.7097 GB, free: 81.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/1.525, allocations: 359.2 kB / 0.71 GB, free: 81.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/1.525, allocations: 0 / 0.71 GB, free: 81.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/1.526, allocations: 476.6 kB / 0.7104 GB, free: 80.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/1.528, allocations: 1.005 MB / 0.7114 GB, free: 80.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/1.531, allocations: 3.494 MB / 0.7148 GB, free: 76.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/1.535, allocations: 1.882 MB / 0.7167 GB, free: 75.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/1.535, allocations: 24.81 kB / 0.7167 GB, free: 75.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009944/1.545, allocations: 3.95 MB / 0.7206 GB, free: 74.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/1.545, allocations: 5 kB / 0.7206 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/1.545, allocations: 90.69 kB / 0.7207 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/1.545, allocations: 138.3 kB / 0.7208 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/1.55, allocations: 0.9598 MB / 0.7217 GB, free: 74.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002137/1.55, allocations: 179 kB / 0.7219 GB, free: 74.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/1.553, allocations: 106.7 kB / 0.722 GB, free: 74.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009051/1.554, allocations: 246.5 kB / 0.7222 GB, free: 74.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 409 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.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 (516): * Single equations (assignments): 516 * 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.001373/1.556, allocations: 345.8 kB / 0.7226 GB, free: 73.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.557, allocations: 209.2 kB / 0.7228 GB, free: 73.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.559, allocations: 1.141 MB / 0.7239 GB, free: 72.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.559, allocations: 12 kB / 0.7239 GB, free: 72.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.559, allocations: 4 kB / 0.7239 GB, free: 72.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.559, allocations: 3.234 kB / 0.7239 GB, free: 72.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/1.569, allocations: 4.721 MB / 0.7285 GB, free: 68.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/1.569, allocations: 19.91 kB / 0.7285 GB, free: 68.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/1.57, allocations: 221.7 kB / 0.7287 GB, free: 68.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-05/1.57, allocations: 27.89 kB / 0.7288 GB, free: 68.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/1.57, allocations: 27.94 kB / 0.7288 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/1.57, allocations: 31 kB / 0.7288 GB, free: 68.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/1.57, allocations: 27.88 kB / 0.7288 GB, free: 68 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00206/1.572, allocations: 2.98 MB / 0.7318 GB, free: 64.36 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002339/1.575, allocations: 3.382 MB / 0.7351 GB, free: 60.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/1.575, allocations: 293.2 kB / 0.7353 GB, free: 60.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/1.576, allocations: 23.75 kB / 0.7354 GB, free: 60 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/1.577, allocations: 23.7 kB / 0.7354 GB, free: 59.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.577, allocations: 110.2 kB / 0.7355 GB, free: 59.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/1.577, allocations: 48 kB / 0.7355 GB, free: 59.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001778/1.579, allocations: 1.336 MB / 0.7368 GB, free: 58.65 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004478/1.583, allocations: 0.5742 MB / 0.7374 GB, free: 58.08 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0004306/1.583, allocations: 185.2 kB / 0.7376 GB, free: 57.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003689/1.587, allocations: 2.317 MB / 0.7398 GB, free: 55.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.587, allocations: 0 / 0.7398 GB, free: 55.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005563/1.588, allocations: 0.5227 MB / 0.7403 GB, free: 55.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.589, allocations: 205.9 kB / 0.7405 GB, free: 55.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.602, allocations: 5.453 MB / 0.7459 GB, free: 49.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003745/1.606, allocations: 3.001 MB / 0.7488 GB, free: 47.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/1.606, allocations: 0 / 0.7488 GB, free: 47.54 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)