Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",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.00184/0.00184, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000895/0.000895, allocations: 96.3 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 45.14 MB / 383.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1907/0.3628, allocations: 69.36 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.4486, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.7174, allocations: 107 MB / 0.6084 GB, free: 12.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.7176, allocations: 68.72 kB / 0.6084 GB, free: 11.98 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.5721/1.29, allocations: 163.8 MB / 0.7684 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.29, allocations: 11.53 kB / 0.7684 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04246/1.332, allocations: 11.49 MB / 0.7796 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/1.352, allocations: 9.146 MB / 0.7886 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/1.353, allocations: 249.6 kB / 0.7888 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/1.355, allocations: 463.4 kB / 0.7892 GB, free: 74.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01483/1.369, allocations: 10.51 MB / 0.7995 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/1.39, allocations: 15.81 MB / 0.8149 GB, free: 70.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/1.391, allocations: 103.7 kB / 0.815 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009124/1.391, allocations: 46.44 kB / 0.8151 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/1.393, allocations: 1.698 MB / 0.8167 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06712/1.46, allocations: 74.75 MB / 0.8897 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00672/1.467, allocations: 5.711 MB / 0.8953 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/1.472, allocations: 4.003 MB / 0.8992 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/1.488, allocations: 12.53 MB / 0.9115 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/1.488, allocations: 66.59 kB / 0.9115 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=233): time 4.919e-06/1.488, allocations: 0 / 0.9115 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of matching and sorting (n=261): time 0.05418/1.542, allocations: 28.12 MB / 0.939 GB, free: 280 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.543, allocations: 284.1 kB / 0.9393 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007168/1.55, allocations: 5.194 MB / 0.9443 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003226/1.55, allocations: 25.7 kB / 0.9444 GB, free: 11.34 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00264/1.553, allocations: 4.792 MB / 0.949 GB, free: 7.051 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.554, allocations: 0.9841 MB / 0.95 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/1.554, allocations: 3.938 kB / 0.95 GB, free: 6.168 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0004246/1.555, allocations: 0.669 MB / 0.9507 GB, free: 5.594 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004033/1.559, allocations: 2.821 MB / 0.9534 GB, free: 3.074 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006843/1.566, allocations: 8.151 MB / 0.9614 GB, free: 8.688 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006922/1.573, allocations: 4.772 MB / 0.966 GB, free: 4.613 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.278e-05/1.573, allocations: 56 kB / 0.9661 GB, free: 4.559 MB / 0.573 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.2824/1.855, allocations: 10.48 MB / 0.9763 GB, free: 185.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.855, allocations: 5.344 kB / 0.9763 GB, free: 185.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/1.855, allocations: 191.7 kB / 0.9765 GB, free: 185.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.858, allocations: 0.9874 MB / 0.9775 GB, free: 185.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006142/1.864, allocations: 1.963 MB / 0.9794 GB, free: 185.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009801/1.873, allocations: 10.36 MB / 0.9895 GB, free: 180.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006555/1.88, allocations: 258.2 kB / 0.9897 GB, free: 180.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/1.881, allocations: 0.5296 MB / 0.9903 GB, free: 180.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1062): * Single equations (assignments): 1055 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001021/1.882, allocations: 0.5827 MB / 0.9908 GB, free: 180.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008965/1.883, allocations: 0.5447 MB / 0.9914 GB, free: 180.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/1.89, allocations: 4.485 MB / 0.9957 GB, free: 180 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/1.89, allocations: 22.75 kB / 0.9958 GB, free: 180 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.89, allocations: 10.5 kB / 0.9958 GB, free: 180 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.89, allocations: 13.36 kB / 0.9958 GB, free: 180 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.908, allocations: 10.88 MB / 1.006 GB, free: 179.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.908, allocations: 0 / 1.006 GB, free: 179.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/1.91, allocations: 374.7 kB / 1.007 GB, free: 179.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/1.912, allocations: 0.6678 MB / 1.007 GB, free: 179.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/1.912, allocations: 7.875 kB / 1.007 GB, free: 179.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0084/1.921, allocations: 9.248 MB / 1.016 GB, free: 174.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.921, allocations: 5.641 kB / 1.016 GB, free: 174.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009476/1.93, allocations: 7.89 MB / 1.024 GB, free: 173.6 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01187/1.942, allocations: 11.05 MB / 1.035 GB, free: 172.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.943, allocations: 0.5605 MB / 1.036 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007294/1.944, allocations: 0 / 1.036 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.946, allocations: 84.2 kB / 1.036 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/1.946, allocations: 118.3 kB / 1.036 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.947, allocations: 68.12 kB / 1.036 GB, free: 171.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.004824/1.951, allocations: 3.552 MB / 1.039 GB, free: 171.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007784/1.959, allocations: 1.413 MB / 1.041 GB, free: 171.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.0005542/1.96, allocations: 159.1 kB / 1.041 GB, free: 171.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008753/1.969, allocations: 7.094 MB / 1.048 GB, free: 169.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.969, allocations: 0 / 1.048 GB, free: 169.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/1.971, allocations: 2.444 MB / 1.05 GB, free: 168.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/1.975, allocations: 0.7318 MB / 1.051 GB, free: 168.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.997, allocations: 13.13 MB / 1.064 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00829/2.006, allocations: 5.97 MB / 1.069 GB, free: 162.1 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/2.006, allocations: 0 / 1.069 GB, free: 162.1 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)