Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001063/0.001064, allocations: 205.6 kB / 8.54 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.192/1.192, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009425/0.0009425, allocations: 95.73 kB / 286.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1708/0.1708, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1828/0.3537, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07619/0.4299, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.6855, allocations: 107.8 MB / 0.6092 GB, free: 11.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.6857, allocations: 72.34 kB / 0.6093 GB, free: 11.21 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.2955/0.9812, allocations: 117.4 MB / 0.7239 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.9813, allocations: 8 kB / 0.7239 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.995, allocations: 2.906 MB / 0.7267 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009841/1.005, allocations: 4.12 MB / 0.7307 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/1.005, allocations: 152 kB / 0.7309 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/1.006, allocations: 275.9 kB / 0.7311 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01199/1.018, allocations: 8.411 MB / 0.7394 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/1.033, allocations: 11.07 MB / 0.7502 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/1.033, allocations: 35.66 kB / 0.7502 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005666/1.034, allocations: 16 kB / 0.7502 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001536/1.035, allocations: 1.404 MB / 0.7516 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1675/1.203, allocations: 38.87 MB / 0.7895 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/1.206, allocations: 3.059 MB / 0.7925 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/1.209, allocations: 2.506 MB / 0.795 GB, free: 175.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/1.221, allocations: 9.857 MB / 0.8046 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/1.221, allocations: 55.06 kB / 0.8047 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=218): time 6.332e-06/1.221, allocations: 0 / 0.8047 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.02826/1.249, allocations: 16.44 MB / 0.8207 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/1.249, allocations: 74 kB / 0.8208 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/1.252, allocations: 2.822 MB / 0.8235 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/1.252, allocations: 25.7 kB / 0.8236 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.253, allocations: 3.169 MB / 0.8266 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/1.254, allocations: 0.8827 MB / 0.8275 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/1.254, allocations: 0 / 0.8275 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002433/1.255, allocations: 0.5864 MB / 0.8281 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/1.257, allocations: 2.513 MB / 0.8305 GB, free: 161 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/1.261, allocations: 6.001 MB / 0.8364 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004958/1.266, allocations: 3.961 MB / 0.8403 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.724e-05/1.266, allocations: 36 kB / 0.8403 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01332/1.28, allocations: 8.618 MB / 0.8487 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.28, allocations: 8 kB / 0.8487 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.073e-05/1.28, allocations: 121.6 kB / 0.8488 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.283, allocations: 1.002 MB / 0.8498 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004657/1.288, allocations: 1.418 MB / 0.8512 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/1.293, allocations: 4.762 MB / 0.8559 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/1.297, allocations: 173.8 kB / 0.856 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005587/1.298, allocations: 367.5 kB / 0.8564 GB, free: 140.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 563 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,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.arrowLine.twoHeadedArrow,axis2.headAtOrigin,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 (780): * Single equations (assignments): 773 * 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.0007263/1.299, allocations: 433.3 kB / 0.8568 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/1.299, allocations: 304 kB / 0.8571 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007633/1.307, allocations: 4.94 MB / 0.8619 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/1.307, allocations: 43.47 kB / 0.8619 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.307, allocations: 4 kB / 0.8619 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/1.307, allocations: 7.266 kB / 0.8619 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/1.323, allocations: 10.08 MB / 0.8718 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.323, allocations: 8 kB / 0.8718 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.325, allocations: 347.1 kB / 0.8721 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/1.328, allocations: 0.8032 MB / 0.8729 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/1.328, allocations: 12 kB / 0.8729 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/1.333, allocations: 4.157 MB / 0.877 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.333, allocations: 4 kB / 0.877 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00979/1.343, allocations: 7.938 MB / 0.8847 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01187/1.355, allocations: 11.05 MB / 0.8955 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/1.355, allocations: 355.5 kB / 0.8959 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/1.356, allocations: 12 kB / 0.8959 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.357, allocations: 65.45 kB / 0.8959 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.357, allocations: 103.7 kB / 0.896 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/1.358, allocations: 67.23 kB / 0.8961 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002247/1.36, allocations: 1.858 MB / 0.8979 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004618/1.365, allocations: 0.9705 MB / 0.8989 GB, free: 102.2 MB / 0.5261 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.0003617/1.365, allocations: 155.9 kB / 0.899 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00663/1.372, allocations: 5.91 MB / 0.9048 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.372, allocations: 0 / 0.9048 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/1.374, allocations: 2.137 MB / 0.9069 GB, free: 94.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.375, allocations: 273.3 kB / 0.9071 GB, free: 94.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.388, allocations: 9.198 MB / 0.9161 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004409/1.393, allocations: 4.096 MB / 0.9201 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/1.393, allocations: 0 / 0.9201 GB, free: 81.27 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)