Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.101/1.101, allocations: 111.2 MB / 124.2 MB, free: 11.22 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.761e-05, allocations: 0 / 154.4 MB, free: 13.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 25.16 MB / 179.5 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06488/0.239, allocations: 35.26 MB / 214.8 MB, free: 13.87 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.2393, allocations: 63.97 kB / 214.8 MB, free: 13.8 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01275/0.2521, allocations: 2.885 MB / 217.7 MB, free: 10.91 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2522, allocations: 0 / 217.7 MB, free: 10.91 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.2522, allocations: 8 kB / 217.7 MB, free: 10.91 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007681/0.253, allocations: 434.2 kB / 218.2 MB, free: 10.44 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.253, allocations: 8.031 kB / 218.2 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.753e-05/0.2531, allocations: 58.5 kB / 218.2 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.2532, allocations: 19.72 kB / 218.2 MB, free: 10.34 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.2536, allocations: 215.4 kB / 218.4 MB, free: 10.09 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.2536, allocations: 16 kB / 218.5 MB, free: 10.08 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.2537, allocations: 16 kB / 218.5 MB, free: 10.06 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.2541, allocations: 145.2 kB / 218.6 MB, free: 9.914 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2542, allocations: 0 / 218.6 MB, free: 9.914 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.2542, allocations: 8 kB / 218.6 MB, free: 9.906 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.2542, allocations: 7.953 kB / 218.6 MB, free: 9.898 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.2545, allocations: 87.98 kB / 218.7 MB, free: 9.812 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.2559, allocations: 0.6043 MB / 219.3 MB, free: 9.148 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.2563, allocations: 114.5 kB / 219.4 MB, free: 9.027 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2564, allocations: 36.86 kB / 219.5 MB, free: 8.988 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.2564, allocations: 0 / 219.5 MB, free: 8.988 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2565, allocations: 38.56 kB / 219.5 MB, free: 8.941 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.2565, allocations: 0 / 219.5 MB, free: 8.941 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.001942/0.2584, allocations: 0.7384 MB / 220.3 MB, free: 8.113 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.2585, allocations: 59.39 kB / 220.3 MB, free: 8.043 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.2587, allocations: 137.4 kB / 220.4 MB, free: 7.902 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2588, allocations: 25.7 kB / 220.5 MB, free: 7.871 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.2589, allocations: 194.6 kB / 220.7 MB, free: 7.68 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.259, allocations: 63.11 kB / 220.7 MB, free: 7.617 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.259, allocations: 0 / 220.7 MB, free: 7.617 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2592, allocations: 330.9 kB / 221 MB, free: 7.285 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2593, allocations: 32.19 kB / 221.1 MB, free: 7.25 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2595, allocations: 67.8 kB / 221.1 MB, free: 7.172 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.2597, allocations: 43.98 kB / 221.2 MB, free: 7.129 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2597, allocations: 224 / 221.2 MB, free: 7.129 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005821/0.2603, allocations: 196.3 kB / 221.4 MB, free: 6.93 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2603, allocations: 9.5 kB / 221.4 MB, free: 6.922 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2603, allocations: 4 kB / 221.4 MB, free: 6.918 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.2606, allocations: 44.72 kB / 221.4 MB, free: 6.871 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.2609, allocations: 35.98 kB / 221.5 MB, free: 6.836 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.2628, allocations: 1.421 MB / 222.9 MB, free: 5.285 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.263, allocations: 8.031 kB / 222.9 MB, free: 5.277 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2631, allocations: 4.188 kB / 222.9 MB, free: 5.273 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" ) "absolute velocity of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.2633, allocations: 128.9 kB / 223 MB, free: 5.141 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.2633, allocations: 15.81 kB / 223 MB, free: 5.125 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.2634, allocations: 20.73 kB / 223.1 MB, free: 5.105 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2634, allocations: 0 / 223.1 MB, free: 5.105 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2634, allocations: 4 kB / 223.1 MB, free: 5.102 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2635, allocations: 0 / 223.1 MB, free: 5.102 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2648, allocations: 0.5679 MB / 223.6 MB, free: 4.465 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2648, allocations: 3.953 kB / 223.6 MB, free: 4.461 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.2652, allocations: 39.91 kB / 223.7 MB, free: 4.422 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.2654, allocations: 36.94 kB / 223.7 MB, free: 4.383 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.2654, allocations: 4 kB / 223.7 MB, free: 4.379 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.267, allocations: 1.367 MB / 225.1 MB, free: 2.875 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2671, allocations: 0 / 225.1 MB, free: 2.875 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.2679, allocations: 367.9 kB / 225.4 MB, free: 2.469 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.268, allocations: 104.9 kB / 225.5 MB, free: 2.348 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.2681, allocations: 0 / 225.5 MB, free: 2.348 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2683, allocations: 11.98 kB / 225.6 MB, free: 2.336 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.2684, allocations: 11.98 kB / 225.6 MB, free: 2.324 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.2684, allocations: 12 kB / 225.6 MB, free: 2.312 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.2686, allocations: 124.1 kB / 225.7 MB, free: 2.191 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2686, allocations: 0 / 225.7 MB, free: 2.191 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004481/0.269, allocations: 44 kB / 225.7 MB, free: 2.148 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.2703, allocations: 1.121 MB / 226.9 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.2711, allocations: 242.6 kB / 227.1 MB, free: 0.7266 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2711, allocations: 4 kB / 227.1 MB, free: 0.7227 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.2715, allocations: 184.3 kB / 227.3 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.272, allocations: 23.98 kB / 227.3 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2734, allocations: 454.7 kB / 227.8 MB, free: 16 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.2739, allocations: 0.7363 MB / 228.5 MB, free: 15.25 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.274, allocations: 47.42 kB / 228.5 MB, free: 15.21 MB / 202.7 MB Notification: Performance of SimCode: time 1.613e-06/0.274, allocations: 0 / 228.5 MB, free: 15.21 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/3.036, allocations: 3.618 MB / 232.2 MB, free: 11.59 MB / 202.7 MB