Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 15.98 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 54.86 MB / 369.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003585/0.3349, allocations: 2.081 MB / 371.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3365, allocations: 0.7571 MB / 372.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.3367, allocations: 7.938 kB / 372.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.3369, allocations: 43.64 kB / 372.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.3372, allocations: 99.72 kB / 372.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.3375, allocations: 79.89 kB / 372.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.338, allocations: 271.2 kB / 372.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.3383, allocations: 103.3 kB / 372.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.3385, allocations: 131.5 kB / 372.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.3388, allocations: 143.3 kB / 373 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.3388, allocations: 19.94 kB / 373 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.3389, allocations: 20 kB / 373 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.339, allocations: 55.77 kB / 373.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.3391, allocations: 89.52 kB / 373.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.3395, allocations: 312 kB / 373.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3395, allocations: 4 kB / 373.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3396, allocations: 0 / 373.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3396, allocations: 0 / 373.5 MB, free: 6.527 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001387/0.341, allocations: 0.6121 MB / 374.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.341, allocations: 8.031 kB / 374.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.3411, allocations: 78.53 kB / 374.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.3412, allocations: 43.44 kB / 374.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.3417, allocations: 263.5 kB / 374.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.3417, allocations: 25 kB / 374.5 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.3418, allocations: 36 kB / 374.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.3428, allocations: 366.6 kB / 374.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3429, allocations: 4 kB / 374.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.3429, allocations: 16 kB / 374.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3429, allocations: 8 kB / 374.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3441, allocations: 288.9 kB / 375.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.3471, allocations: 1.355 MB / 376.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.3479, allocations: 206.5 kB / 376.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.3479, allocations: 4 kB / 376.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.348, allocations: 42.59 kB / 376.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 4.779e-06/0.348, allocations: 3.984 kB / 376.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001324/0.3493, allocations: 277.3 kB / 377.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.3494, allocations: 140.7 kB / 377.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.3499, allocations: 320.5 kB / 377.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.35, allocations: 29.7 kB / 377.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.3502, allocations: 294 kB / 377.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.3503, allocations: 47.36 kB / 377.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.3503, allocations: 11.94 kB / 377.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3504, allocations: 318.8 kB / 378.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.3509, allocations: 92.5 kB / 378.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.3514, allocations: 180 kB / 378.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.3518, allocations: 104 kB / 378.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.3519, allocations: 7.938 kB / 378.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001091/0.353, allocations: 309.4 kB / 378.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.353, allocations: 4 kB / 378.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.353, allocations: 4 kB / 378.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.353, allocations: 4 kB / 378.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.3539, allocations: 112 kB / 379 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3539, allocations: 4.562 kB / 379 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.3544, allocations: 55.47 kB / 379 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3544, allocations: 12 kB / 379.1 MB, free: 0.5469 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0002036/0.3546, allocations: 153.7 kB / 379.2 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3548, allocations: 31.62 kB / 379.2 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.158e-05/0.3549, allocations: 34.41 kB / 379.3 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3549, allocations: 4 kB / 379.3 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3549, allocations: 4 kB / 379.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3549, allocations: 0 / 379.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.356, allocations: 0.5915 MB / 379.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.356, allocations: 0 / 379.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.3566, allocations: 72.09 kB / 379.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3566, allocations: 4 kB / 379.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3566, allocations: 7.953 kB / 380 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.3567, allocations: 7.938 kB / 380 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3567, allocations: 0 / 380 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.3576, allocations: 416 kB / 380.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3577, allocations: 112.7 kB / 380.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.3578, allocations: 3.938 kB / 380.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.3582, allocations: 27.94 kB / 380.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.3583, allocations: 15.98 kB / 380.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3583, allocations: 8 kB / 380.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003404/0.3587, allocations: 227 kB / 380.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3587, allocations: 3.938 kB / 380.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005201/0.3592, allocations: 67.84 kB / 380.8 MB, free: 14.65 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.001197/0.3604, allocations: 0.9476 MB / 381.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009176/0.3613, allocations: 208.1 kB / 382 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3614, allocations: 4.125 kB / 382 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.3618, allocations: 91.83 kB / 382.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3622, allocations: 21.38 kB / 382.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.3664, allocations: 1.796 MB / 383.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3668, allocations: 0.7831 MB / 384.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.3671, allocations: 99.41 kB / 384.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3671, allocations: 0 / 384.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.498/2.865, allocations: 4.457 MB / 389.2 MB, free: 6.07 MB / 314.7 MB