Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.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.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",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.001497/0.001497, allocations: 191.2 kB / 7.804 MB, free: 2.492 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.267/1.267, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009326/0.0009327, allocations: 93.5 kB / 261.4 MB, free: 13.53 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.1913/0.1913, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.233/0.4244, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.7574, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.9034, allocations: 100.6 MB / 0.5637 GB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.9037, allocations: 79.12 kB / 0.5638 GB, free: 14.18 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.5229/1.427, allocations: 98.71 MB / 0.6602 GB, free: 107.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.427, allocations: 7.812 kB / 0.6602 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02312/1.45, allocations: 5.725 MB / 0.6658 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02197/1.472, allocations: 9.12 MB / 0.6747 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/1.472, allocations: 106.4 kB / 0.6748 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/1.474, allocations: 226.1 kB / 0.675 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009593/1.483, allocations: 4.436 MB / 0.6794 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/1.499, allocations: 6.186 MB / 0.6854 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003932/1.5, allocations: 56.55 kB / 0.6855 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/1.501, allocations: 23.28 kB / 0.6855 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00176/1.503, allocations: 0.6514 MB / 0.6861 GB, free: 102.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/1.544, allocations: 29.73 MB / 0.7151 GB, free: 81.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/1.544, allocations: 328 kB / 0.7155 GB, free: 81.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/1.545, allocations: 166.6 kB / 0.7156 GB, free: 81.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/1.545, allocations: 10.52 kB / 0.7156 GB, free: 81.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/1.545, allocations: 41.75 kB / 0.7157 GB, free: 81.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 4.077e-06/1.545, allocations: 7.875 kB / 0.7157 GB, free: 81.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.006381/1.551, allocations: 1.6 MB / 0.7172 GB, free: 80.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/1.551, allocations: 240 kB / 0.7175 GB, free: 80.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008988/1.56, allocations: 3.491 MB / 0.7209 GB, free: 79.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/1.56, allocations: 26.27 kB / 0.7209 GB, free: 79.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002584/1.563, allocations: 2.264 MB / 0.7231 GB, free: 77.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/1.563, allocations: 159.3 kB / 0.7233 GB, free: 77.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/1.564, allocations: 0 / 0.7233 GB, free: 77.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004236/1.564, allocations: 458 kB / 0.7237 GB, free: 76.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.566, allocations: 0.7002 MB / 0.7244 GB, free: 76.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/1.569, allocations: 3.288 MB / 0.7276 GB, free: 72.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/1.572, allocations: 1.481 MB / 0.729 GB, free: 72.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.572, allocations: 28 kB / 0.7291 GB, free: 72.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007446/1.58, allocations: 3.366 MB / 0.7324 GB, free: 69.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.58, allocations: 7.375 kB / 0.7324 GB, free: 69.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/1.58, allocations: 96 kB / 0.7325 GB, free: 68.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/1.58, allocations: 136.8 kB / 0.7326 GB, free: 68.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/1.583, allocations: 0.856 MB / 0.7334 GB, free: 68.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001581/1.583, allocations: 179.8 kB / 0.7336 GB, free: 67.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/1.587, allocations: 497.7 kB / 0.7341 GB, free: 67.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005015/1.588, allocations: 232.7 kB / 0.7343 GB, free: 67.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * 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.0007248/1.589, allocations: 352.8 kB / 0.7346 GB, free: 66.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.59, allocations: 339.6 kB / 0.7349 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/1.591, allocations: 351 kB / 0.7353 GB, free: 66.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/1.591, allocations: 8.703 kB / 0.7353 GB, free: 66.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.591, allocations: 4 kB / 0.7353 GB, free: 66.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.591, allocations: 1.266 kB / 0.7353 GB, free: 66.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006285/1.597, allocations: 3.499 MB / 0.7387 GB, free: 63.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.597, allocations: 8 kB / 0.7387 GB, free: 63.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/1.597, allocations: 79.89 kB / 0.7388 GB, free: 63.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.597, allocations: 12 kB / 0.7388 GB, free: 63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/1.597, allocations: 16.39 kB / 0.7388 GB, free: 62.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.597, allocations: 17.81 kB / 0.7388 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/1.598, allocations: 16.97 kB / 0.7389 GB, free: 62.96 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00134/1.599, allocations: 2.073 MB / 0.7409 GB, free: 60.36 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001208/1.6, allocations: 2.517 MB / 0.7433 GB, free: 57.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009735/1.601, allocations: 423.7 kB / 0.7437 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/1.601, allocations: 13.27 kB / 0.7438 GB, free: 56.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.602, allocations: 50.97 kB / 0.7438 GB, free: 56.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/1.603, allocations: 52.14 kB / 0.7439 GB, free: 56.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.603, allocations: 28 kB / 0.7439 GB, free: 56.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004032/1.607, allocations: 2.467 MB / 0.7463 GB, free: 54.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004848/1.611, allocations: 0.8495 MB / 0.7471 GB, free: 53.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0002463/1.612, allocations: 125.8 kB / 0.7472 GB, free: 53.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002657/1.614, allocations: 1.637 MB / 0.7488 GB, free: 52.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.614, allocations: 0 / 0.7488 GB, free: 52.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/1.615, allocations: 173.1 kB / 0.749 GB, free: 52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/1.618, allocations: 0.5225 MB / 0.7495 GB, free: 51.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.629, allocations: 5.525 MB / 0.7549 GB, free: 45.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003279/1.632, allocations: 3.151 MB / 0.758 GB, free: 42.59 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/1.633, allocations: 0 / 0.758 GB, free: 42.59 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)