Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.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.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 182.8 kB / 8.52 MB, free: 1.742 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.195/1.195, allocations: 221.4 MB / 230.3 MB, free: 7.73 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.0009327/0.0009327, allocations: 84.73 kB / 281.2 MB, free: 5.457 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.1655/0.1655, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1685/0.334, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.4228, allocations: 61.92 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2527/0.6756, allocations: 102.6 MB / 0.5943 GB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.6758, allocations: 71.97 kB / 0.5944 GB, free: 10.08 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.2716/0.9475, allocations: 99.44 MB / 0.6915 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.9475, allocations: 11.94 kB / 0.6915 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02337/0.9709, allocations: 5.723 MB / 0.6971 GB, free: 432 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.138/1.109, allocations: 8.326 MB / 0.7053 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/1.109, allocations: 105.9 kB / 0.7054 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004921/1.109, allocations: 224.6 kB / 0.7056 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00559/1.115, allocations: 4.438 MB / 0.7099 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006467/1.122, allocations: 6.183 MB / 0.7159 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/1.122, allocations: 64.22 kB / 0.716 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/1.122, allocations: 15.75 kB / 0.716 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001109/1.123, allocations: 0.6524 MB / 0.7167 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/1.149, allocations: 29.61 MB / 0.7456 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/1.149, allocations: 329.5 kB / 0.7459 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/1.15, allocations: 160.9 kB / 0.746 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/1.15, allocations: 5.406 kB / 0.746 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.15, allocations: 50.47 kB / 0.7461 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/1.15, allocations: 0 / 0.7461 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.004271/1.154, allocations: 1.339 MB / 0.7474 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/1.154, allocations: 238 kB / 0.7476 GB, free: 154 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003708/1.158, allocations: 3.424 MB / 0.751 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/1.158, allocations: 29.7 kB / 0.751 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009506/1.159, allocations: 2.261 MB / 0.7532 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/1.159, allocations: 162.5 kB / 0.7534 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/1.159, allocations: 0 / 0.7534 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.159, allocations: 451.2 kB / 0.7538 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/1.16, allocations: 0.7044 MB / 0.7545 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.161, allocations: 3.287 MB / 0.7577 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/1.163, allocations: 1.482 MB / 0.7591 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-05/1.163, allocations: 27.91 kB / 0.7592 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004025/1.167, allocations: 3.356 MB / 0.7624 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.167, allocations: 6.656 kB / 0.7624 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.936e-05/1.167, allocations: 93.31 kB / 0.7625 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.981e-05/1.167, allocations: 136.3 kB / 0.7627 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.169, allocations: 0.8544 MB / 0.7635 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.897e-05/1.169, allocations: 184.5 kB / 0.7637 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.172, allocations: 498.5 kB / 0.7642 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.172, allocations: 236.1 kB / 0.7644 GB, free: 144.9 MB / 0.4948 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.0002849/1.173, allocations: 354.4 kB / 0.7647 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/1.173, allocations: 330.6 kB / 0.765 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/1.174, allocations: 351.4 kB / 0.7654 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.174, allocations: 3.375 kB / 0.7654 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.174, allocations: 7.438 kB / 0.7654 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.174, allocations: 3.656 kB / 0.7654 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/1.178, allocations: 3.467 MB / 0.7688 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.178, allocations: 15.59 kB / 0.7688 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/1.178, allocations: 87.33 kB / 0.7689 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/1.178, allocations: 22.41 kB / 0.7689 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/1.178, allocations: 11.31 kB / 0.7689 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/1.178, allocations: 18.7 kB / 0.7689 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.178, allocations: 16.44 kB / 0.7689 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000743/1.179, allocations: 2.052 MB / 0.7709 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008092/1.179, allocations: 2.484 MB / 0.7734 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/1.18, allocations: 414.5 kB / 0.7738 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/1.18, allocations: 19.59 kB / 0.7738 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.181, allocations: 45.94 kB / 0.7738 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/1.181, allocations: 57.3 kB / 0.7739 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/1.181, allocations: 23.5 kB / 0.7739 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002943/1.184, allocations: 2.421 MB / 0.7763 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003596/1.188, allocations: 0.8401 MB / 0.7771 GB, free: 136.2 MB / 0.4948 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.0001664/1.188, allocations: 116.3 kB / 0.7772 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001948/1.19, allocations: 1.641 MB / 0.7788 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.19, allocations: 1.25 kB / 0.7788 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/1.19, allocations: 170.1 kB / 0.779 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/1.192, allocations: 0.5322 MB / 0.7795 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/1.2, allocations: 5.476 MB / 0.7848 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/1.203, allocations: 3.128 MB / 0.7879 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/1.203, allocations: 4 kB / 0.7879 GB, free: 128.7 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)