Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 184.2 kB / 7.805 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.2 MB / 213.4 MB, free: 8.582 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008821/0.0008822, allocations: 94.56 kB / 261.4 MB, free: 5.109 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.5 MB / 352.9 MB, free: 11.35 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2734/0.4772, allocations: 64.97 MB / 417.8 MB, free: 68.1 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.5885, allocations: 58.84 MB / 476.7 MB, free: 9.199 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.9829, allocations: 104.8 MB / 0.5678 GB, free: 7.574 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.9832, allocations: 83.5 kB / 0.5679 GB, free: 7.531 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.7581/1.741, allocations: 166.3 MB / 0.7303 GB, free: 54.71 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/1.741, allocations: 10.38 kB / 0.7303 GB, free: 54.71 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04892/1.79, allocations: 11.6 MB / 0.7416 GB, free: 54.14 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03313/1.824, allocations: 10.93 MB / 0.7523 GB, free: 53 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006799/1.824, allocations: 273.6 kB / 0.7525 GB, free: 52.99 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00588/1.83, allocations: 496.9 kB / 0.753 GB, free: 52.98 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02808/1.858, allocations: 11.41 MB / 0.7642 GB, free: 52.94 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04572/1.904, allocations: 16.94 MB / 0.7807 GB, free: 48.76 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009221/1.905, allocations: 104.2 kB / 0.7808 GB, free: 48.75 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004894/1.91, allocations: 47.66 kB / 0.7808 GB, free: 48.75 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002832/1.913, allocations: 1.866 MB / 0.7827 GB, free: 48.54 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/2.03, allocations: 78.64 MB / 0.8595 GB, free: 6.352 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/2.041, allocations: 6.421 MB / 0.8657 GB, free: 404 kB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01351/2.054, allocations: 5.014 MB / 0.8706 GB, free: 13.25 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03097/2.085, allocations: 13.89 MB / 0.8842 GB, free: 14.95 MB / 0.5339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.162e-05/2.085, allocations: 72.86 kB / 0.8843 GB, free: 14.87 MB / 0.5339 GB Notification: Performance of pre-optimization done (n=296): time 7.624e-06/2.085, allocations: 0 / 0.8843 GB, free: 14.87 MB / 0.5339 GB Notification: Performance of matching and sorting (n=322): time 0.4845/2.57, allocations: 29.75 MB / 0.9133 GB, free: 172.8 MB / 0.534 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/2.57, allocations: 288.9 kB / 0.9136 GB, free: 172.5 MB / 0.534 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/2.582, allocations: 5.493 MB / 0.919 GB, free: 172 MB / 0.534 GB Notification: Performance of collectPreVariables (initialization): time 0.0008664/2.583, allocations: 29.52 kB / 0.919 GB, free: 172 MB / 0.534 GB Notification: Performance of collectInitialEqns (initialization): time 0.004419/2.588, allocations: 5.095 MB / 0.924 GB, free: 169 MB / 0.534 GB Notification: Performance of collectInitialBindings (initialization): time 0.002632/2.59, allocations: 1.184 MB / 0.9251 GB, free: 168.3 MB / 0.534 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008483/2.591, allocations: 0 / 0.9251 GB, free: 168.3 MB / 0.534 GB Notification: Performance of setup shared object (initialization): time 0.000498/2.592, allocations: 0.7096 MB / 0.9258 GB, free: 168 MB / 0.534 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005056/2.597, allocations: 3.346 MB / 0.9291 GB, free: 167.9 MB / 0.534 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009858/2.607, allocations: 9.003 MB / 0.9379 GB, free: 160.6 MB / 0.534 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008669/2.615, allocations: 5.457 MB / 0.9432 GB, free: 160.6 MB / 0.534 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002109/2.616, allocations: 55.97 kB / 0.9433 GB, free: 160.6 MB / 0.534 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02694/2.643, allocations: 11.87 MB / 0.9548 GB, free: 159.9 MB / 0.534 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/2.643, allocations: 5.594 kB / 0.9549 GB, free: 159.9 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003801/2.643, allocations: 209.8 kB / 0.9551 GB, free: 159.9 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/2.646, allocations: 1.012 MB / 0.956 GB, free: 159.8 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008898/2.655, allocations: 2.193 MB / 0.9582 GB, free: 159.6 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/2.666, allocations: 10.39 MB / 0.9683 GB, free: 154.3 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.677, allocations: 302.3 kB / 0.9686 GB, free: 154.3 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003759/2.681, allocations: 0.5714 MB / 0.9692 GB, free: 154.2 MB / 0.534 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 921 * Number of states: 0 () * Number of discrete variables: 66 (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.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.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 (1184): * Single equations (assignments): 1177 * 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.004714/2.685, allocations: 0.6087 MB / 0.9698 GB, free: 153.8 MB / 0.534 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/2.688, allocations: 0.5894 MB / 0.9703 GB, free: 153.4 MB / 0.534 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/2.698, allocations: 5.584 MB / 0.9758 GB, free: 151.5 MB / 0.534 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.886e-05/2.698, allocations: 33.06 kB / 0.9758 GB, free: 151.5 MB / 0.534 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/2.698, allocations: 10.47 kB / 0.9758 GB, free: 151.5 MB / 0.534 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/2.698, allocations: 15.28 kB / 0.9759 GB, free: 151.5 MB / 0.534 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03057/2.728, allocations: 12.84 MB / 0.9884 GB, free: 147 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/2.728, allocations: 1.281 kB / 0.9884 GB, free: 147 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/2.732, allocations: 0.4937 MB / 0.9889 GB, free: 146.9 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/2.734, allocations: 0.6598 MB / 0.9895 GB, free: 146.8 MB / 0.534 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004267/2.734, allocations: 16.62 kB / 0.9895 GB, free: 146.8 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009674/2.744, allocations: 9.247 MB / 0.9986 GB, free: 140 MB / 0.534 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/2.744, allocations: 0 / 0.9986 GB, free: 140 MB / 0.534 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01331/2.757, allocations: 9.641 MB / 1.008 GB, free: 136 MB / 0.534 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01668/2.774, allocations: 13.56 MB / 1.021 GB, free: 124.7 MB / 0.534 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004276/2.778, allocations: 1.042 MB / 1.022 GB, free: 123.7 MB / 0.534 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00207/2.781, allocations: 7.281 kB / 1.022 GB, free: 123.7 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/2.784, allocations: 115.8 kB / 1.022 GB, free: 123.6 MB / 0.534 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/2.784, allocations: 141.9 kB / 1.022 GB, free: 123.5 MB / 0.534 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/2.784, allocations: 83.75 kB / 1.023 GB, free: 123.5 MB / 0.534 GB Notification: Performance of sort global known variables: time 0.007063/2.792, allocations: 3.756 MB / 1.026 GB, free: 120.2 MB / 0.534 GB Notification: Performance of remove unused functions: time 0.01082/2.802, allocations: 1.555 MB / 1.028 GB, free: 118.6 MB / 0.534 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 (269): * Single equations (assignments): 262 * 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.0006763/2.803, allocations: 162.2 kB / 1.028 GB, free: 118.5 MB / 0.534 GB Notification: Performance of simCode: created initialization part: time 0.01282/2.816, allocations: 8.307 MB / 1.036 GB, free: 111 MB / 0.534 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/2.816, allocations: 0 / 1.036 GB, free: 111 MB / 0.534 GB Notification: Performance of simCode: created simulation system equations: time 0.003352/2.819, allocations: 2.977 MB / 1.039 GB, free: 108.2 MB / 0.534 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003895/2.823, allocations: 0.706 MB / 1.04 GB, free: 107.6 MB / 0.534 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/2.855, allocations: 14.49 MB / 1.054 GB, free: 94.74 MB / 0.534 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0125/2.868, allocations: 6.385 MB / 1.06 GB, free: 89.98 MB / 0.534 GB Notification: Performance of SimCode: time 1.553e-06/2.868, allocations: 0 / 1.06 GB, free: 89.98 MB / 0.534 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)