Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",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.001163/0.001163, allocations: 187.9 kB / 7.802 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.623/1.623, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008979/0.0008976, allocations: 93.23 kB / 261.4 MB, free: 13.55 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.2105/0.2105, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2476/0.4582, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.8049, allocations: 58.84 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.9654, allocations: 105.4 MB / 0.5684 GB, free: 9.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.9657, allocations: 79.12 kB / 0.5685 GB, free: 9.434 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.5572/1.523, allocations: 118.6 MB / 0.6843 GB, free: 107.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.523, allocations: 7.688 kB / 0.6843 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/1.538, allocations: 2.946 MB / 0.6872 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/1.556, allocations: 4.866 MB / 0.692 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005507/1.557, allocations: 161.1 kB / 0.6921 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004323/1.561, allocations: 292.4 kB / 0.6924 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02043/1.582, allocations: 8.664 MB / 0.7009 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/1.61, allocations: 11.41 MB / 0.712 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/1.61, allocations: 32.31 kB / 0.712 GB, free: 94.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/1.611, allocations: 16 kB / 0.712 GB, free: 94.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/1.613, allocations: 1.478 MB / 0.7135 GB, free: 93.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05709/1.67, allocations: 40.26 MB / 0.7528 GB, free: 52.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/1.674, allocations: 3.072 MB / 0.7558 GB, free: 49.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/1.676, allocations: 2.503 MB / 0.7583 GB, free: 47.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01365/1.69, allocations: 10.08 MB / 0.7681 GB, free: 36.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.69, allocations: 44.56 kB / 0.7681 GB, free: 36.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 6.132e-06/1.69, allocations: 4 kB / 0.7681 GB, free: 36.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=245): time 0.03298/1.723, allocations: 16.56 MB / 0.7843 GB, free: 19.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/1.723, allocations: 73.41 kB / 0.7844 GB, free: 19.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005415/1.729, allocations: 2.912 MB / 0.7872 GB, free: 16.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003778/1.729, allocations: 25.7 kB / 0.7873 GB, free: 16.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.731, allocations: 3.334 MB / 0.7905 GB, free: 13.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.732, allocations: 0.8903 MB / 0.7914 GB, free: 12.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006434/1.733, allocations: 0 / 0.7914 GB, free: 12.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005333/1.733, allocations: 0.5988 MB / 0.792 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/1.737, allocations: 2.543 MB / 0.7944 GB, free: 9.418 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005583/1.742, allocations: 6.203 MB / 0.8005 GB, free: 1.387 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007964/1.75, allocations: 4.03 MB / 0.8044 GB, free: 13.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/1.75, allocations: 40 kB / 0.8045 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01992/1.77, allocations: 8.8 MB / 0.8131 GB, free: 4.512 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.77, allocations: 4 kB / 0.8131 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003048/1.771, allocations: 132 kB / 0.8132 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/1.774, allocations: 1.004 MB / 0.8142 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005995/1.78, allocations: 1.474 MB / 0.8156 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008054/1.788, allocations: 4.787 MB / 0.8203 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00589/1.794, allocations: 179.9 kB / 0.8205 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/1.796, allocations: 384 kB / 0.8208 GB, free: 12.44 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 801 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002022/1.798, allocations: 442.5 kB / 0.8213 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.799, allocations: 311.9 kB / 0.8216 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.81, allocations: 4.95 MB / 0.8264 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.982e-05/1.81, allocations: 40 kB / 0.8264 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/1.81, allocations: 4 kB / 0.8264 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/1.81, allocations: 15.94 kB / 0.8264 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.214/2.024, allocations: 10.18 MB / 0.8364 GB, free: 178.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/2.024, allocations: 3.906 kB / 0.8364 GB, free: 178.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/2.026, allocations: 341.8 kB / 0.8367 GB, free: 178.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002709/2.028, allocations: 0.7973 MB / 0.8375 GB, free: 178.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/2.029, allocations: 9.75 kB / 0.8375 GB, free: 178.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/2.034, allocations: 4.155 MB / 0.8416 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.034, allocations: 9.125 kB / 0.8416 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01019/2.044, allocations: 7.959 MB / 0.8493 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01452/2.059, allocations: 11.06 MB / 0.8601 GB, free: 175 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/2.061, allocations: 0.7127 MB / 0.8608 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/2.062, allocations: 8.281 kB / 0.8608 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/2.064, allocations: 70.23 kB / 0.8609 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/2.064, allocations: 111.5 kB / 0.861 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/2.064, allocations: 56.97 kB / 0.8611 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006607/2.071, allocations: 1.926 MB / 0.863 GB, free: 174.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008075/2.079, allocations: 0.9934 MB / 0.8639 GB, free: 174.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 181 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000849/2.08, allocations: 157.9 kB / 0.8641 GB, free: 174 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01059/2.09, allocations: 5.995 MB / 0.8699 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.091, allocations: 2.938 kB / 0.8699 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/2.094, allocations: 2.118 MB / 0.872 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/2.096, allocations: 262 kB / 0.8723 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/2.12, allocations: 9.467 MB / 0.8815 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007734/2.128, allocations: 4.233 MB / 0.8856 GB, free: 167 MB / 0.4948 GB Notification: Performance of SimCode: time 2.364e-06/2.128, allocations: 0 / 0.8856 GB, free: 167 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)