Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001181/0.00118, allocations: 186.1 kB / 7.799 MB, free: 2.5 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.435/1.435, 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.0008617/0.0008617, allocations: 99.2 kB / 261.4 MB, free: 13.55 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.2053/0.2053, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2283/0.4336, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.7438, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.896, allocations: 108.9 MB / 0.5719 GB, free: 5.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.8964, allocations: 75.95 kB / 0.5719 GB, free: 5.895 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: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.4022/1.299, allocations: 73.87 MB / 0.6441 GB, free: 108.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.299, allocations: 12.81 kB / 0.6441 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/1.302, allocations: 0.6821 MB / 0.6447 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/1.309, allocations: 2.593 MB / 0.6473 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.309, allocations: 139.3 kB / 0.6474 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009693/1.31, allocations: 245.5 kB / 0.6476 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009101/1.319, allocations: 5.831 MB / 0.6533 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/1.332, allocations: 7.537 MB / 0.6607 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.776e-05/1.332, allocations: 20.62 kB / 0.6607 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004357/1.333, allocations: 10.34 kB / 0.6607 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/1.334, allocations: 0.8357 MB / 0.6615 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/1.37, allocations: 27.74 MB / 0.6886 GB, free: 90.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/1.372, allocations: 1.316 MB / 0.6899 GB, free: 90.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/1.373, allocations: 0.876 MB / 0.6908 GB, free: 89.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007741/1.381, allocations: 6.37 MB / 0.697 GB, free: 85.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.381, allocations: 50.59 kB / 0.697 GB, free: 85.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/1.381, allocations: 3.406 kB / 0.697 GB, free: 85.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=79): time 0.0126/1.394, allocations: 5.839 MB / 0.7027 GB, free: 82.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.394, allocations: 165.3 kB / 0.7029 GB, free: 81.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/1.397, allocations: 2.099 MB / 0.705 GB, free: 80.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/1.397, allocations: 30.83 kB / 0.705 GB, free: 80.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/1.399, allocations: 2.471 MB / 0.7074 GB, free: 79.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/1.399, allocations: 332.8 kB / 0.7077 GB, free: 78.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/1.399, allocations: 2.531 kB / 0.7077 GB, free: 78.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/1.399, allocations: 466.5 kB / 0.7082 GB, free: 78.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/1.401, allocations: 0.9761 MB / 0.7091 GB, free: 78.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/1.403, allocations: 3.401 MB / 0.7124 GB, free: 74.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/1.406, allocations: 1.786 MB / 0.7142 GB, free: 73.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.466e-05/1.406, allocations: 24.81 kB / 0.7142 GB, free: 73.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.006435/1.412, allocations: 3.798 MB / 0.7179 GB, free: 72.35 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.412, allocations: 4.344 kB / 0.7179 GB, free: 72.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.413, allocations: 88.31 kB / 0.718 GB, free: 72.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/1.413, allocations: 131.8 kB / 0.7181 GB, free: 72.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/1.416, allocations: 0.9416 MB / 0.719 GB, free: 72.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/1.416, allocations: 176.5 kB / 0.7192 GB, free: 72.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/1.419, allocations: 123.4 kB / 0.7193 GB, free: 72.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/1.419, allocations: 246.3 kB / 0.7196 GB, free: 72.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 400 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.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],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 (501): * Single equations (assignments): 500 * 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.0004267/1.42, allocations: 335.8 kB / 0.7199 GB, free: 71.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/1.42, allocations: 221.6 kB / 0.7201 GB, free: 71.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.422, allocations: 0.9755 MB / 0.7211 GB, free: 71.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.422, allocations: 8.812 kB / 0.7211 GB, free: 71.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.422, allocations: 1.469 kB / 0.7211 GB, free: 71.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.422, allocations: 4.688 kB / 0.7211 GB, free: 71.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/1.432, allocations: 4.826 MB / 0.7258 GB, free: 68.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.432, allocations: 23.7 kB / 0.7258 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/1.433, allocations: 241.6 kB / 0.726 GB, free: 68.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.382e-05/1.433, allocations: 31.47 kB / 0.7261 GB, free: 68.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/1.433, allocations: 34.42 kB / 0.7261 GB, free: 68.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.031e-05/1.434, allocations: 39.62 kB / 0.7261 GB, free: 68.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/1.434, allocations: 27.88 kB / 0.7262 GB, free: 68.12 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002493/1.436, allocations: 3.614 MB / 0.7297 GB, free: 63.82 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002302/1.438, allocations: 4.013 MB / 0.7336 GB, free: 59.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/1.439, allocations: 310.8 kB / 0.7339 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/1.439, allocations: 30.19 kB / 0.7339 GB, free: 58.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/1.44, allocations: 31.14 kB / 0.734 GB, free: 58.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.44, allocations: 117.8 kB / 0.7341 GB, free: 58.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/1.44, allocations: 63.19 kB / 0.7341 GB, free: 58.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001962/1.442, allocations: 1.395 MB / 0.7355 GB, free: 57.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004609/1.447, allocations: 0.6016 MB / 0.7361 GB, free: 56.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * 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.0003621/1.447, allocations: 176.9 kB / 0.7363 GB, free: 56.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003534/1.451, allocations: 2.316 MB / 0.7385 GB, free: 54.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.451, allocations: 0 / 0.7385 GB, free: 54.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006955/1.452, allocations: 0.5993 MB / 0.7391 GB, free: 53.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.453, allocations: 227.9 kB / 0.7393 GB, free: 53.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.464, allocations: 6.014 MB / 0.7452 GB, free: 48.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003382/1.468, allocations: 3.236 MB / 0.7484 GB, free: 45.48 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/1.468, allocations: 0 / 0.7484 GB, free: 45.48 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)