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.283/1.283, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.000269, allocations: 4 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05947/0.05978, allocations: 25.17 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002529/0.06238, allocations: 1.367 MB / 184.9 MB, free: 4.555 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.06341, allocations: 415.7 kB / 185.3 MB, free: 4.145 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.06354, allocations: 4 kB / 185.3 MB, free: 4.141 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 4.978e-05/0.0636, allocations: 19.84 kB / 185.3 MB, free: 4.121 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.06375, allocations: 27.95 kB / 185.3 MB, free: 4.094 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.06397, allocations: 27.91 kB / 185.4 MB, free: 4.066 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.0642, allocations: 83.83 kB / 185.4 MB, free: 3.984 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.06438, allocations: 41.69 kB / 185.5 MB, free: 3.941 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.06452, allocations: 47.78 kB / 185.5 MB, free: 3.895 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.06466, allocations: 51.78 kB / 185.6 MB, free: 3.844 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.0647, allocations: 4 kB / 185.6 MB, free: 3.84 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-05/0.06474, allocations: 8 kB / 185.6 MB, free: 3.832 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.06478, allocations: 19.92 kB / 185.6 MB, free: 3.812 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.06484, allocations: 41.64 kB / 185.7 MB, free: 3.766 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.06503, allocations: 103.7 kB / 185.8 MB, free: 3.664 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.06504, allocations: 0 / 185.8 MB, free: 3.664 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.06506, allocations: 0 / 185.8 MB, free: 3.664 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.06507, allocations: 0 / 185.8 MB, free: 3.664 MB / 154.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.0007576/0.06584, allocations: 403 kB / 186.2 MB, free: 3.223 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.06591, allocations: 8.031 kB / 186.2 MB, free: 3.215 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.06598, allocations: 46.55 kB / 186.2 MB, free: 3.16 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.06604, allocations: 15.81 kB / 186.2 MB, free: 3.145 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.0663, allocations: 194.9 kB / 186.4 MB, free: 2.914 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.06634, allocations: 12 kB / 186.4 MB, free: 2.902 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.06639, allocations: 15.91 kB / 186.4 MB, free: 2.887 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.06679, allocations: 129.6 kB / 186.6 MB, free: 2.754 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.06683, allocations: 0 / 186.6 MB, free: 2.754 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.06686, allocations: 4 kB / 186.6 MB, free: 2.75 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.06687, allocations: 4 kB / 186.6 MB, free: 2.746 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.06719, allocations: 87.81 kB / 186.7 MB, free: 2.66 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.06826, allocations: 0.4901 MB / 187.1 MB, free: 2.113 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.0685, allocations: 66.56 kB / 187.2 MB, free: 2.039 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.06854, allocations: 3.938 kB / 187.2 MB, free: 2.035 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.06859, allocations: 38.5 kB / 187.3 MB, free: 1.988 MB / 154.7 MB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.0686, allocations: 0 / 187.3 MB, free: 1.988 MB / 154.7 MB Notification: Performance of matching and sorting (n=10): time 0.001491/0.0701, allocations: 0.5828 MB / 187.8 MB, free: 1.312 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.07017, allocations: 55.41 kB / 187.9 MB, free: 1.246 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.07033, allocations: 130 kB / 188 MB, free: 1.105 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.07038, allocations: 29.7 kB / 188 MB, free: 1.07 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.07051, allocations: 194.5 kB / 188.2 MB, free: 0.8789 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.07057, allocations: 39.45 kB / 188.3 MB, free: 0.8398 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.07059, allocations: 4 kB / 188.3 MB, free: 0.8359 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.07074, allocations: 322.8 kB / 188.6 MB, free: 0.5117 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.07088, allocations: 27.98 kB / 188.6 MB, free: 496 kB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.07108, allocations: 91.64 kB / 188.7 MB, free: 376 kB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.07126, allocations: 47.95 kB / 188.8 MB, free: 328 kB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.07127, allocations: 0 / 188.8 MB, free: 328 kB / 154.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004339/0.07172, allocations: 157.5 kB / 188.9 MB, free: 164 kB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.07176, allocations: 8 kB / 188.9 MB, free: 156 kB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.07177, allocations: 0 / 188.9 MB, free: 156 kB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.0718, allocations: 4 kB / 188.9 MB, free: 152 kB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.07208, allocations: 35.92 kB / 189 MB, free: 116 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.0721, allocations: 4 kB / 189 MB, free: 112 kB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.07223, allocations: 8.094 kB / 189 MB, free: 104 kB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.07227, allocations: 19.98 kB / 189 MB, free: 84 kB / 154.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 () * Number of clocked 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 0.0001686/0.07245, allocations: 129.8 kB / 189.1 MB, free: 15.94 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.07251, allocations: 11.91 kB / 189.1 MB, free: 15.93 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.07256, allocations: 8.719 kB / 189.1 MB, free: 15.92 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.07258, allocations: 192 / 189.1 MB, free: 15.92 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.07259, allocations: 4 kB / 189.1 MB, free: 15.92 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.07261, allocations: 3.938 kB / 189.1 MB, free: 15.91 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.07342, allocations: 431.9 kB / 189.6 MB, free: 15.43 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.07344, allocations: 4 kB / 189.6 MB, free: 15.43 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.07369, allocations: 23.98 kB / 189.6 MB, free: 15.41 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.07371, allocations: 0 / 189.6 MB, free: 15.41 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.07374, allocations: 3.984 kB / 189.6 MB, free: 15.4 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.0738, allocations: 4 kB / 189.6 MB, free: 15.4 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.07382, allocations: 8 kB / 189.6 MB, free: 15.39 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.07438, allocations: 245 kB / 189.8 MB, free: 15.13 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.07448, allocations: 89.19 kB / 189.9 MB, free: 15.02 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.07453, allocations: 11.98 kB / 189.9 MB, free: 15.01 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.07467, allocations: 4 kB / 190 MB, free: 15.01 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.07473, allocations: 11.92 kB / 190 MB, free: 15 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.07476, allocations: 4 kB / 190 MB, free: 14.99 MB / 170.7 MB Notification: Performance of sorting global known variables: time 9.433e-05/0.07486, allocations: 99.27 kB / 190.1 MB, free: 14.89 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.07487, allocations: 0 / 190.1 MB, free: 14.89 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.07523, allocations: 24 kB / 190.1 MB, free: 14.87 MB / 170.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 () * Number of clocked 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.0008463/0.07609, allocations: 0.7765 MB / 190.9 MB, free: 14.06 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.07645, allocations: 87.91 kB / 190.9 MB, free: 13.98 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.07647, allocations: 0 / 190.9 MB, free: 13.98 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.07662, allocations: 39.92 kB / 191 MB, free: 13.94 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.07695, allocations: 11.98 kB / 191 MB, free: 13.93 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.07907, allocations: 0.9691 MB / 192 MB, free: 12.87 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.07948, allocations: 0.7121 MB / 192.7 MB, free: 12.13 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.0796, allocations: 39.61 kB / 192.7 MB, free: 12.09 MB / 170.7 MB Notification: Performance of SimCode: time 1.502e-06/0.07962, allocations: 3.938 kB / 192.7 MB, free: 12.09 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.583/2.663, allocations: 1.868 MB / 194.6 MB, free: 10.22 MB / 170.7 MB