Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sensors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004454, allocations: 15.98 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3353, allocations: 54.85 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003062/0.3384, allocations: 1.512 MB / 370.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3396, allocations: 0.5391 MB / 371.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.3397, allocations: 4 kB / 371.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.3398, allocations: 27.83 kB / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.34, allocations: 35.86 kB / 371.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.3402, allocations: 31.97 kB / 371.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3404, allocations: 95.78 kB / 371.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3406, allocations: 53.77 kB / 371.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3407, allocations: 47.84 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.3408, allocations: 51.72 kB / 371.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3409, allocations: 8 kB / 371.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.3409, allocations: 8 kB / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.341, allocations: 27.89 kB / 371.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.341, allocations: 45.64 kB / 371.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3412, allocations: 128.7 kB / 371.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3412, allocations: 0 / 371.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3413, allocations: 3.938 kB / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3413, allocations: 0 / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007309/0.342, allocations: 419.1 kB / 372.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3421, allocations: 16.03 kB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.498e-05/0.3421, allocations: 46.55 kB / 372.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.3422, allocations: 11.81 kB / 372.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3424, allocations: 198.8 kB / 372.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3425, allocations: 8.281 kB / 372.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.3425, allocations: 12 kB / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.343, allocations: 143.8 kB / 372.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.343, allocations: 7.891 kB / 372.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.343, allocations: 12 kB / 372.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.343, allocations: 0 / 372.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.3435, allocations: 120.1 kB / 372.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.3449, allocations: 0.6183 MB / 373.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.3453, allocations: 74.61 kB / 373.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3454, allocations: 0 / 373.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3454, allocations: 34.69 kB / 373.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3454, allocations: 0 / 373.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006156/0.346, allocations: 125.5 kB / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3461, allocations: 55.41 kB / 373.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3463, allocations: 166.5 kB / 373.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3463, allocations: 25.7 kB / 373.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3464, allocations: 198 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.3465, allocations: 19.72 kB / 374.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.3465, allocations: 0 / 374.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3466, allocations: 314.8 kB / 374.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3468, allocations: 31.98 kB / 374.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.347, allocations: 72.27 kB / 374.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3472, allocations: 43.97 kB / 374.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3473, allocations: 3.938 kB / 374.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004776/0.3477, allocations: 137.5 kB / 374.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3478, allocations: 8.125 kB / 374.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3478, allocations: 0 / 374.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3478, allocations: 4 kB / 374.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3481, allocations: 31.91 kB / 374.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3481, allocations: 4 kB / 374.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.3483, allocations: 19.84 kB / 374.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3483, allocations: 4 kB / 374.8 MB, free: 4.902 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001202/0.3484, allocations: 125.8 kB / 374.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.3485, allocations: 11.86 kB / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.3485, allocations: 12.31 kB / 375 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3486, allocations: 0 / 375 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3486, allocations: 256 / 375 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3486, allocations: 0 / 375 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3489, allocations: 213.6 kB / 375.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3489, allocations: 0 / 375.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3491, allocations: 23.92 kB / 375.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.3491, allocations: 3.953 kB / 375.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3491, allocations: 4 kB / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3491, allocations: 0 / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3491, allocations: 0 / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.3496, allocations: 191.4 kB / 375.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.3496, allocations: 92.94 kB / 375.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3497, allocations: 7.953 kB / 375.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3498, allocations: 4 kB / 375.5 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3499, allocations: 7.984 kB / 375.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3499, allocations: 0 / 375.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.35, allocations: 111.8 kB / 375.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.35, allocations: 4 kB / 375.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.3504, allocations: 23.91 kB / 375.6 MB, free: 3.992 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.0007174/0.3511, allocations: 0.7318 MB / 376.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.3516, allocations: 75.89 kB / 376.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3516, allocations: 256 / 376.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3518, allocations: 35.98 kB / 376.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.352, allocations: 11.94 kB / 376.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3539, allocations: 0.8121 MB / 377.3 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3542, allocations: 0.708 MB / 378 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.3543, allocations: 35.42 kB / 378 MB, free: 1.465 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3543, allocations: 4 kB / 378 MB, free: 1.461 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.284/2.638, allocations: 1.819 MB / 379.9 MB, free: 15.64 MB / 314.7 MB