Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 187.6 kB / 7.805 MB, free: 2.488 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.379/1.379, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008988/0.0008987, allocations: 95.67 kB / 261.4 MB, free: 13.54 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.1941/0.1941, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2142/0.4083, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.7604, allocations: 58.84 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.9482, allocations: 106 MB / 0.569 GB, free: 8.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.9485, allocations: 71.97 kB / 0.5691 GB, free: 8.797 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.5563/1.505, allocations: 113 MB / 0.6795 GB, free: 103.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.505, allocations: 10.59 kB / 0.6795 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0266/1.532, allocations: 6.551 MB / 0.6859 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.552, allocations: 6.882 MB / 0.6926 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/1.552, allocations: 170.2 kB / 0.6928 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003247/1.556, allocations: 318.7 kB / 0.6931 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01936/1.575, allocations: 7.474 MB / 0.7004 GB, free: 98.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/1.608, allocations: 11.65 MB / 0.7117 GB, free: 91.94 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006891/1.609, allocations: 80.89 kB / 0.7118 GB, free: 91.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002939/1.612, allocations: 36 kB / 0.7119 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/1.614, allocations: 1.295 MB / 0.7131 GB, free: 90.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06208/1.676, allocations: 57.54 MB / 0.7693 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/1.681, allocations: 3.742 MB / 0.773 GB, free: 28.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/1.683, allocations: 2.381 MB / 0.7753 GB, free: 25.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.695, allocations: 6.785 MB / 0.7819 GB, free: 18.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.695, allocations: 55.38 kB / 0.782 GB, free: 18.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=172): time 5.28e-06/1.695, allocations: 0 / 0.782 GB, free: 18.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=185): time 0.03137/1.726, allocations: 15.25 MB / 0.7969 GB, free: 3.406 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.726, allocations: 201.2 kB / 0.797 GB, free: 3.168 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00624/1.732, allocations: 4.169 MB / 0.8011 GB, free: 15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004165/1.733, allocations: 29.64 kB / 0.8011 GB, free: 14.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/1.736, allocations: 3.727 MB / 0.8048 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.737, allocations: 0.7213 MB / 0.8055 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/1.737, allocations: 0 / 0.8055 GB, free: 10.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005171/1.738, allocations: 0.612 MB / 0.8061 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/1.741, allocations: 2.197 MB / 0.8082 GB, free: 7.633 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007205/1.749, allocations: 6.763 MB / 0.8148 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006147/1.755, allocations: 3.857 MB / 0.8186 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.84e-05/1.755, allocations: 44.28 kB / 0.8186 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=952) (initialization): time 0.01752/1.772, allocations: 8.255 MB / 0.8267 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.773, allocations: 4.094 kB / 0.8267 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/1.773, allocations: 168.8 kB / 0.8269 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/1.774, allocations: 0.5934 MB / 0.8275 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2357/2.01, allocations: 1.653 MB / 0.8291 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/2.015, allocations: 5.305 MB / 0.8342 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006657/2.022, allocations: 227.1 kB / 0.8345 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/2.024, allocations: 451.2 kB / 0.8349 GB, free: 168.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 747 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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.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 (902): * Single equations (assignments): 897 * 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.001443/2.026, allocations: 0.506 MB / 0.8354 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/2.027, allocations: 418.5 kB / 0.8358 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/2.032, allocations: 2.834 MB / 0.8386 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.412e-05/2.032, allocations: 19.12 kB / 0.8386 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/2.032, allocations: 9.062 kB / 0.8386 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/2.032, allocations: 7.219 kB / 0.8386 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/2.047, allocations: 6.99 MB / 0.8454 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/2.047, allocations: 3.219 kB / 0.8454 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/2.048, allocations: 263.7 kB / 0.8457 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/2.05, allocations: 336.8 kB / 0.846 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/2.05, allocations: 11.84 kB / 0.846 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/2.054, allocations: 4.62 MB / 0.8505 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.054, allocations: 5.25 kB / 0.8505 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007222/2.062, allocations: 5.418 MB / 0.8558 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009291/2.071, allocations: 7.717 MB / 0.8633 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/2.073, allocations: 0.688 MB / 0.864 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009166/2.074, allocations: 0 / 0.864 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/2.076, allocations: 45.53 kB / 0.8641 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/2.076, allocations: 87.56 kB / 0.8641 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/2.077, allocations: 48.25 kB / 0.8642 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005871/2.082, allocations: 2.823 MB / 0.867 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009514/2.092, allocations: 1.026 MB / 0.868 GB, free: 160.8 MB / 0.4948 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 (146): * Single equations (assignments): 141 * 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.0005138/2.093, allocations: 146.7 kB / 0.8681 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008345/2.101, allocations: 5.348 MB / 0.8733 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/2.101, allocations: 0 / 0.8733 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/2.103, allocations: 1.591 MB / 0.8749 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/2.107, allocations: 465.9 kB / 0.8753 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/2.129, allocations: 9.292 MB / 0.8844 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008965/2.138, allocations: 4.468 MB / 0.8888 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.432e-06/2.138, allocations: 1.5 kB / 0.8888 GB, free: 153.7 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)