Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2",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.001315/0.001315, allocations: 195.4 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 225.5 MB / 234.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00098/0.0009799, allocations: 101.6 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2747/0.2747, allocations: 45.15 MB / 383.3 MB, free: 40.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1068/0.3815, allocations: 69.37 MB / 452.7 MB, free: 5.379 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.6269, allocations: 63.24 MB / 0.5039 GB, free: 34.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.7458, allocations: 112.4 MB / 0.6137 GB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.7461, allocations: 79.95 kB / 0.6137 GB, free: 12.04 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.7132/1.459, allocations: 232.6 MB / 0.8409 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/1.459, allocations: 12 kB / 0.8409 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04824/1.508, allocations: 12.18 MB / 0.8528 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02767/1.535, allocations: 11.4 MB / 0.8639 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006127/1.536, allocations: 380 kB / 0.8643 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004573/1.541, allocations: 0.6872 MB / 0.865 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03124/1.572, allocations: 16.41 MB / 0.881 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3322/1.904, allocations: 24.36 MB / 0.9048 GB, free: 111.6 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000485/1.905, allocations: 143.6 kB / 0.9049 GB, free: 111.6 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/1.907, allocations: 65.97 kB / 0.905 GB, free: 111.6 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00298/1.91, allocations: 2.741 MB / 0.9077 GB, free: 111.6 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/2.021, allocations: 116.9 MB / 1.022 GB, free: 48.14 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/2.032, allocations: 10.57 MB / 1.032 GB, free: 43.33 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007735/2.039, allocations: 7.503 MB / 1.039 GB, free: 40.26 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03164/2.071, allocations: 20.08 MB / 1.059 GB, free: 30.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/2.071, allocations: 81.97 kB / 1.059 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=427): time 8.486e-06/2.071, allocations: 0 / 1.059 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of matching and sorting (n=511): time 0.2759/2.347, allocations: 53.41 MB / 1.111 GB, free: 119.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/2.347, allocations: 359.8 kB / 1.112 GB, free: 118.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/2.358, allocations: 7.652 MB / 1.119 GB, free: 118.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/2.359, allocations: 29.61 kB / 1.119 GB, free: 118.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/2.363, allocations: 7.112 MB / 1.126 GB, free: 116 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001934/2.364, allocations: 1.857 MB / 1.128 GB, free: 114.9 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006764/2.365, allocations: 0 / 1.128 GB, free: 114.9 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.000526/2.366, allocations: 0.9012 MB / 1.129 GB, free: 114.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006887/2.373, allocations: 5.691 MB / 1.134 GB, free: 114.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009923/2.383, allocations: 13.54 MB / 1.148 GB, free: 104.4 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/2.394, allocations: 8.711 MB / 1.156 GB, free: 104.4 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/2.394, allocations: 82.69 kB / 1.156 GB, free: 104.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1828) (initialization): time 0.03743/2.432, allocations: 20.19 MB / 1.176 GB, free: 103.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/2.432, allocations: 3.375 kB / 1.176 GB, free: 103.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003223/2.432, allocations: 281.3 kB / 1.176 GB, free: 103.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007974/2.44, allocations: 3.089 MB / 1.179 GB, free: 103.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01247/2.452, allocations: 3.301 MB / 1.182 GB, free: 103.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02522/2.478, allocations: 20.33 MB / 1.202 GB, free: 95.17 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.489, allocations: 461.8 kB / 1.203 GB, free: 95.14 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002675/2.492, allocations: 0.8217 MB / 1.203 GB, free: 95.03 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1270 * Number of states: 0 () * Number of discrete variables: 132 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1710): * Single equations (assignments): 1703 * 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 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002371/2.494, allocations: 0.8313 MB / 1.204 GB, free: 94.37 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/2.496, allocations: 0.831 MB / 1.205 GB, free: 93.91 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/2.517, allocations: 11.8 MB / 1.217 GB, free: 90.02 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/2.517, allocations: 52.53 kB / 1.217 GB, free: 90.02 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.422e-05/2.517, allocations: 18.5 kB / 1.217 GB, free: 90.02 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-05/2.517, allocations: 26.09 kB / 1.217 GB, free: 90.02 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04641/2.564, allocations: 24.34 MB / 1.24 GB, free: 74.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-05/2.564, allocations: 6.016 kB / 1.24 GB, free: 74.93 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005617/2.569, allocations: 0.8868 MB / 1.241 GB, free: 74.21 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007166/2.576, allocations: 2.616 MB / 1.244 GB, free: 72.3 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007853/2.577, allocations: 13.64 kB / 1.244 GB, free: 72.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/2.601, allocations: 19.13 MB / 1.263 GB, free: 55.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.601, allocations: 4 kB / 1.263 GB, free: 55.02 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02543/2.626, allocations: 19 MB / 1.281 GB, free: 38.37 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2071/2.833, allocations: 26.47 MB / 1.307 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/2.836, allocations: 0.8146 MB / 1.308 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002528/2.838, allocations: 2.344 kB / 1.308 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005066/2.843, allocations: 176.9 kB / 1.308 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/2.844, allocations: 242.5 kB / 1.308 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005909/2.845, allocations: 124.2 kB / 1.308 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.008392/2.853, allocations: 5.194 MB / 1.313 GB, free: 102.2 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01361/2.867, allocations: 2.377 MB / 1.316 GB, free: 102.2 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 414 * 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 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/2.868, allocations: 173.8 kB / 1.316 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02134/2.89, allocations: 14.17 MB / 1.33 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/2.89, allocations: 2.125 kB / 1.33 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.00911/2.899, allocations: 5.771 MB / 1.335 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005954/2.905, allocations: 0.9674 MB / 1.336 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04695/2.952, allocations: 22.56 MB / 1.358 GB, free: 97.34 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01679/2.969, allocations: 8.803 MB / 1.367 GB, free: 96.34 MB / 0.5262 GB Notification: Performance of SimCode: time 8.92e-07/2.969, allocations: 3.469 kB / 1.367 GB, free: 96.34 MB / 0.5262 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)