Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",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.001345/0.001345, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.165/1.165, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008985/0.0008984, allocations: 93.88 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1679/0.1679, allocations: 45.15 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1855/0.3534, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07681/0.4302, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/0.692, allocations: 108.3 MB / 0.6096 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.6922, allocations: 78.02 kB / 0.6097 GB, free: 10.76 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.2816/0.9739, allocations: 112.2 MB / 0.7193 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.9739, allocations: 8 kB / 0.7193 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02668/1.001, allocations: 6.505 MB / 0.7256 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/1.015, allocations: 5.774 MB / 0.7313 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/1.015, allocations: 168 kB / 0.7314 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/1.017, allocations: 303.8 kB / 0.7317 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01101/1.028, allocations: 7.021 MB / 0.7386 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/1.042, allocations: 11.09 MB / 0.7494 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/1.043, allocations: 75.33 kB / 0.7495 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005361/1.043, allocations: 40 kB / 0.7495 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/1.045, allocations: 1.214 MB / 0.7507 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1786/1.223, allocations: 55.54 MB / 0.8049 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/1.227, allocations: 3.436 MB / 0.8083 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/1.229, allocations: 2.116 MB / 0.8104 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008206/1.237, allocations: 6.124 MB / 0.8163 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/1.237, allocations: 46.59 kB / 0.8164 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=145): time 3.457e-06/1.237, allocations: 0 / 0.8164 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.02491/1.262, allocations: 14.47 MB / 0.8305 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.262, allocations: 195.8 kB / 0.8307 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004462/1.266, allocations: 3.992 MB / 0.8346 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.267, allocations: 25.7 kB / 0.8346 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.268, allocations: 3.557 MB / 0.8381 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/1.268, allocations: 0.6318 MB / 0.8387 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.268, allocations: 3.5 kB / 0.8387 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002675/1.269, allocations: 0.5921 MB / 0.8393 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/1.271, allocations: 1.943 MB / 0.8412 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/1.274, allocations: 6.33 MB / 0.8474 GB, free: 128 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/1.278, allocations: 3.524 MB / 0.8508 GB, free: 127 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.541e-05/1.278, allocations: 43.19 kB / 0.8509 GB, free: 127 MB / 0.5261 GB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009989/1.288, allocations: 7.562 MB / 0.8582 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.288, allocations: 4.938 kB / 0.8582 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002286/1.288, allocations: 157.9 kB / 0.8584 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/1.29, allocations: 0.5855 MB / 0.859 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/1.294, allocations: 1.541 MB / 0.8605 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/1.3, allocations: 5.301 MB / 0.8656 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.305, allocations: 199.7 kB / 0.8658 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/1.305, allocations: 434.7 kB / 0.8663 GB, free: 119.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 836 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007066/1.306, allocations: 498 kB / 0.8667 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/1.306, allocations: 402 kB / 0.8671 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/1.31, allocations: 2.336 MB / 0.8694 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/1.31, allocations: 16 kB / 0.8694 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.31, allocations: 4 kB / 0.8694 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.31, allocations: 7.266 kB / 0.8694 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009018/1.319, allocations: 6.091 MB / 0.8754 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.319, allocations: 4 kB / 0.8754 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.32, allocations: 208.7 kB / 0.8756 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009475/1.321, allocations: 341.4 kB / 0.8759 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.321, allocations: 7.656 kB / 0.8759 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/1.325, allocations: 4.621 MB / 0.8804 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.325, allocations: 7.359 kB / 0.8804 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004903/1.33, allocations: 4.592 MB / 0.8849 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006403/1.337, allocations: 6.545 MB / 0.8913 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.337, allocations: 434.5 kB / 0.8917 GB, free: 96.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/1.338, allocations: 2.719 kB / 0.8917 GB, free: 96.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.339, allocations: 35.58 kB / 0.8918 GB, free: 96.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.339, allocations: 64.84 kB / 0.8918 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.34, allocations: 47.75 kB / 0.8919 GB, free: 96.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003294/1.343, allocations: 2.712 MB / 0.8945 GB, free: 94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005496/1.348, allocations: 0.9527 MB / 0.8954 GB, free: 93.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 114 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003468/1.349, allocations: 146 kB / 0.8956 GB, free: 92.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005483/1.354, allocations: 4.752 MB / 0.9002 GB, free: 88.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.354, allocations: 0 / 0.9002 GB, free: 88.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.356, allocations: 1.345 MB / 0.9015 GB, free: 87.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.357, allocations: 479.7 kB / 0.902 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.371, allocations: 8.618 MB / 0.9104 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004639/1.376, allocations: 4.265 MB / 0.9146 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/1.376, allocations: 0 / 0.9146 GB, free: 75.96 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)