Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.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.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001145/0.001145, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008919/0.0008919, allocations: 93.38 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.171/0.171, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.3564, allocations: 69.36 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08063/0.437, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2577/0.6947, allocations: 103.5 MB / 0.6049 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.695, allocations: 78.45 kB / 0.605 GB, free: 15.54 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.2811/0.9761, allocations: 107.8 MB / 0.7102 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.9761, allocations: 11.94 kB / 0.7102 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02325/0.9994, allocations: 5.715 MB / 0.7158 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/1.016, allocations: 7.296 MB / 0.7229 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/1.016, allocations: 112 kB / 0.7231 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007767/1.017, allocations: 215.8 kB / 0.7233 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007054/1.024, allocations: 4.438 MB / 0.7276 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008147/1.032, allocations: 6.187 MB / 0.7336 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/1.032, allocations: 59.55 kB / 0.7337 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/1.033, allocations: 20 kB / 0.7337 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/1.034, allocations: 0.6577 MB / 0.7344 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1622/1.196, allocations: 29.6 MB / 0.7633 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/1.197, allocations: 324.5 kB / 0.7636 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/1.197, allocations: 170.8 kB / 0.7637 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/1.197, allocations: 7 kB / 0.7637 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.197, allocations: 43.06 kB / 0.7638 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.035e-06/1.197, allocations: 2.406 kB / 0.7638 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.004305/1.201, allocations: 1.334 MB / 0.7651 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.201, allocations: 237 kB / 0.7653 GB, free: 180.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/1.205, allocations: 3.43 MB / 0.7687 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/1.205, allocations: 25.7 kB / 0.7687 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009868/1.206, allocations: 2.262 MB / 0.7709 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/1.206, allocations: 165.2 kB / 0.7711 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/1.206, allocations: 0 / 0.7711 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.207, allocations: 454 kB / 0.7715 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008389/1.207, allocations: 0.6962 MB / 0.7722 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/1.209, allocations: 3.285 MB / 0.7754 GB, free: 175 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/1.21, allocations: 1.491 MB / 0.7768 GB, free: 175 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.244e-05/1.21, allocations: 28.88 kB / 0.7769 GB, free: 175 MB / 0.5261 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004341/1.215, allocations: 3.356 MB / 0.7801 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.215, allocations: 3.5 kB / 0.7801 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.302e-05/1.215, allocations: 95.38 kB / 0.7802 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/1.215, allocations: 135.1 kB / 0.7804 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/1.217, allocations: 0.8546 MB / 0.7812 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001003/1.217, allocations: 189.9 kB / 0.7814 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/1.221, allocations: 494.4 kB / 0.7818 GB, free: 174.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/1.221, allocations: 234.4 kB / 0.7821 GB, free: 174.7 MB / 0.5261 GB 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.0003065/1.221, allocations: 355.9 kB / 0.7824 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/1.221, allocations: 328.8 kB / 0.7827 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/1.222, allocations: 350.5 kB / 0.7831 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.222, allocations: 3.469 kB / 0.7831 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1.222, allocations: 3.219 kB / 0.7831 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.222, allocations: 3.328 kB / 0.7831 GB, free: 174.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/1.226, allocations: 3.472 MB / 0.7865 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.226, allocations: 13.72 kB / 0.7865 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/1.227, allocations: 84.27 kB / 0.7866 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.227, allocations: 11.66 kB / 0.7866 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/1.227, allocations: 16.47 kB / 0.7866 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/1.227, allocations: 18.61 kB / 0.7866 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.227, allocations: 19.34 kB / 0.7866 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007917/1.227, allocations: 2.054 MB / 0.7886 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009257/1.228, allocations: 2.49 MB / 0.7911 GB, free: 168.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/1.229, allocations: 408.9 kB / 0.7914 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/1.229, allocations: 15.06 kB / 0.7915 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.23, allocations: 54.61 kB / 0.7915 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/1.23, allocations: 53.19 kB / 0.7916 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.23, allocations: 22.91 kB / 0.7916 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002726/1.233, allocations: 2.422 MB / 0.7939 GB, free: 168 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003558/1.237, allocations: 0.8394 MB / 0.7948 GB, free: 167.9 MB / 0.5261 GB 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.0001603/1.237, allocations: 122.1 kB / 0.7949 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.239, allocations: 1.635 MB / 0.7965 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.239, allocations: 3.938 kB / 0.7965 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/1.239, allocations: 164.8 kB / 0.7966 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.241, allocations: 0.532 MB / 0.7972 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007753/1.249, allocations: 5.473 MB / 0.8025 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002857/1.252, allocations: 3.14 MB / 0.8056 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/1.252, allocations: 0 / 0.8056 GB, free: 165.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)