Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors.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.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.196/1.196, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.526e-05, allocations: 4 kB / 154.4 MB, free: 13.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1696, allocations: 25.15 MB / 179.5 MB, free: 0.793 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06335/0.233, allocations: 34.64 MB / 214.2 MB, free: 14.46 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.2333, allocations: 67.97 kB / 214.2 MB, free: 14.39 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009369/0.2427, allocations: 2.192 MB / 216.4 MB, free: 12.2 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2428, allocations: 0 / 216.4 MB, free: 12.2 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.2428, allocations: 4 kB / 216.4 MB, free: 12.19 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006125/0.2434, allocations: 406.1 kB / 216.8 MB, free: 11.75 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2435, allocations: 12.03 kB / 216.8 MB, free: 11.74 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.2436, allocations: 42.56 kB / 216.9 MB, free: 11.69 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.2436, allocations: 15.81 kB / 216.9 MB, free: 11.67 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.2439, allocations: 194.9 kB / 217.1 MB, free: 11.44 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2439, allocations: 8 kB / 217.1 MB, free: 11.43 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.244, allocations: 15.91 kB / 217.1 MB, free: 11.42 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.2443, allocations: 121.6 kB / 217.2 MB, free: 11.29 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2444, allocations: 0 / 217.2 MB, free: 11.29 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.2444, allocations: 7.953 kB / 217.2 MB, free: 11.29 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2444, allocations: 4 kB / 217.2 MB, free: 11.28 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2446, allocations: 59.98 kB / 217.3 MB, free: 11.22 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2457, allocations: 0.4901 MB / 217.8 MB, free: 10.67 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.2459, allocations: 58.56 kB / 217.8 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.246, allocations: 24.86 kB / 217.9 MB, free: 10.58 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.246, allocations: 0 / 217.9 MB, free: 10.58 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.2461, allocations: 42.52 kB / 217.9 MB, free: 10.53 MB / 186.7 MB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.2461, allocations: 0 / 217.9 MB, free: 10.53 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.001156/0.2472, allocations: 0.5283 MB / 218.4 MB, free: 9.906 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2473, allocations: 55.41 kB / 218.5 MB, free: 9.84 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2475, allocations: 120.6 kB / 218.6 MB, free: 9.715 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2475, allocations: 29.7 kB / 218.6 MB, free: 9.68 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2476, allocations: 198.3 kB / 218.8 MB, free: 9.484 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.2477, allocations: 35.45 kB / 218.9 MB, free: 9.449 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.2477, allocations: 0 / 218.9 MB, free: 9.449 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2479, allocations: 322.8 kB / 219.2 MB, free: 9.125 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.248, allocations: 24.75 kB / 219.2 MB, free: 9.102 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2481, allocations: 81.77 kB / 219.3 MB, free: 8.996 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.2482, allocations: 39.92 kB / 219.3 MB, free: 8.957 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2482, allocations: 0 / 219.3 MB, free: 8.957 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003427/0.2486, allocations: 149.3 kB / 219.5 MB, free: 8.805 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.2486, allocations: 8 kB / 219.5 MB, free: 8.797 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2487, allocations: 3.938 kB / 219.5 MB, free: 8.793 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.2487, allocations: 4 kB / 219.5 MB, free: 8.789 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.249, allocations: 39.91 kB / 219.5 MB, free: 8.75 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.249, allocations: 4 kB / 219.5 MB, free: 8.746 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2492, allocations: 8 kB / 219.5 MB, free: 8.738 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2492, allocations: 8.734 kB / 219.5 MB, free: 8.73 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.939e-05/0.2493, allocations: 115.7 kB / 219.6 MB, free: 8.613 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.2494, allocations: 15.8 kB / 219.7 MB, free: 8.598 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.2494, allocations: 20.61 kB / 219.7 MB, free: 8.574 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2494, allocations: 0 / 219.7 MB, free: 8.574 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2494, allocations: 0 / 219.7 MB, free: 8.574 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2495, allocations: 0 / 219.7 MB, free: 8.574 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.2502, allocations: 416 kB / 220.1 MB, free: 8.105 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2502, allocations: 0 / 220.1 MB, free: 8.105 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.2505, allocations: 31.92 kB / 220.1 MB, free: 8.074 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2505, allocations: 0 / 220.1 MB, free: 8.074 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2505, allocations: 0 / 220.1 MB, free: 8.074 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.2506, allocations: 8.141 kB / 220.1 MB, free: 8.066 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.2506, allocations: 3.984 kB / 220.1 MB, free: 8.062 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.251, allocations: 248.5 kB / 220.4 MB, free: 7.785 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.2511, allocations: 93.22 kB / 220.5 MB, free: 7.676 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.2511, allocations: 4 kB / 220.5 MB, free: 7.672 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2512, allocations: 7.938 kB / 220.5 MB, free: 7.664 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.2513, allocations: 12.05 kB / 220.5 MB, free: 7.652 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2513, allocations: 7.953 kB / 220.5 MB, free: 7.645 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.317e-05/0.2514, allocations: 99.27 kB / 220.6 MB, free: 7.547 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2514, allocations: 0 / 220.6 MB, free: 7.547 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.2518, allocations: 24 kB / 220.6 MB, free: 7.523 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007854/0.2526, allocations: 0.9213 MB / 221.5 MB, free: 6.559 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.2529, allocations: 75.84 kB / 221.6 MB, free: 6.484 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2529, allocations: 4 kB / 221.6 MB, free: 6.48 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 9.436e-05/0.253, allocations: 36.44 kB / 221.7 MB, free: 6.445 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.2533, allocations: 15.89 kB / 221.7 MB, free: 6.43 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2544, allocations: 355.9 kB / 222 MB, free: 6.039 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.2548, allocations: 0.7121 MB / 222.7 MB, free: 5.301 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2549, allocations: 39.42 kB / 222.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of SimCode: time 1.403e-06/0.255, allocations: 0 / 222.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.471/2.725, allocations: 1.858 MB / 224.6 MB, free: 3.402 MB / 186.7 MB