Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004378, allocations: 8 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3446, allocations: 48.71 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02363/0.3683, allocations: 13.99 MB / 345.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.3796, allocations: 4.731 MB / 350 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.3809, allocations: 26.91 kB / 350 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.3825, allocations: 269 kB / 350.3 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.3859, allocations: 0.6946 MB / 351 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.3901, allocations: 0.7852 MB / 351.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.3933, allocations: 1.143 MB / 352.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.3945, allocations: 381.1 kB / 353.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.3968, allocations: 0.5602 MB / 353.9 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.3983, allocations: 404.1 kB / 354.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.3986, allocations: 30.69 kB / 354.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.4, allocations: 241.2 kB / 354.5 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.4005, allocations: 219.1 kB / 354.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.4009, allocations: 159.2 kB / 354.9 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.4026, allocations: 0.7843 MB / 355.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4027, allocations: 1.344 kB / 355.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4027, allocations: 0 / 355.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.4027, allocations: 0 / 355.7 MB, free: 4.953 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002776/0.4055, allocations: 0.9095 MB / 356.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4055, allocations: 8.938 kB / 356.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/0.4058, allocations: 99.88 kB / 356.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.4063, allocations: 96.38 kB / 356.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.4076, allocations: 0.4911 MB / 357.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.4077, allocations: 104.2 kB / 357.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.4079, allocations: 51.56 kB / 357.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.4099, allocations: 0.817 MB / 358.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.4099, allocations: 6.5 kB / 358.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.4101, allocations: 32.16 kB / 358.3 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.86e-05/0.4102, allocations: 40.38 kB / 358.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.4121, allocations: 0.6412 MB / 359 MB, free: 2.586 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00754/0.4196, allocations: 4.348 MB / 363.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4207, allocations: 335.4 kB / 363.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003334/0.424, allocations: 1.804 MB / 365.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4241, allocations: 38.52 kB / 365.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/0.4241, allocations: 3.938 kB / 365.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.004845/0.429, allocations: 1.22 MB / 366.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.4291, allocations: 132.5 kB / 366.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.4303, allocations: 0.6249 MB / 367.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.4304, allocations: 33.7 kB / 367.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.4308, allocations: 448.4 kB / 367.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.431, allocations: 126.4 kB / 368.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.431, allocations: 16 kB / 368.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4312, allocations: 346.8 kB / 368.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.4317, allocations: 177.9 kB / 368.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000821/0.4325, allocations: 0.581 MB / 369.2 MB, free: 7.508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.4333, allocations: 291.7 kB / 369.4 MB, free: 7.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4333, allocations: 7.938 kB / 369.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001903/0.4352, allocations: 0.7511 MB / 370.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.4353, allocations: 8.625 kB / 370.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.4353, allocations: 16 kB / 370.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-05/0.4354, allocations: 20 kB / 370.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.437, allocations: 216.1 kB / 370.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-05/0.437, allocations: 27.94 kB / 370.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009795/0.438, allocations: 43.89 kB / 370.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.419e-05/0.4381, allocations: 43.98 kB / 370.6 MB, free: 6.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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.0005409/0.4387, allocations: 265.4 kB / 370.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.4389, allocations: 71.25 kB / 370.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.4401, allocations: 450.8 kB / 371.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.4402, allocations: 4 kB / 371.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4402, allocations: 0 / 371.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4402, allocations: 3.984 kB / 371.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.443, allocations: 1.237 MB / 372.6 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.4431, allocations: 4 kB / 372.6 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.4436, allocations: 75.86 kB / 372.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.4439, allocations: 36.83 kB / 372.7 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.444, allocations: 12 kB / 372.7 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005376/0.4445, allocations: 0.5683 MB / 373.3 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.4446, allocations: 11.88 kB / 373.3 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.4461, allocations: 0.6858 MB / 374 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.4466, allocations: 188.2 kB / 374.2 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.4467, allocations: 12 kB / 374.2 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.4474, allocations: 23.98 kB / 374.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.4475, allocations: 31.98 kB / 374.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-05/0.4476, allocations: 27.92 kB / 374.3 MB, free: 2.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008469/0.4485, allocations: 427 kB / 374.7 MB, free: 1.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4485, allocations: 0 / 374.7 MB, free: 1.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001272/0.4498, allocations: 195.9 kB / 374.9 MB, free: 1.551 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * 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 (35): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002349/0.4521, allocations: 1.348 MB / 376.2 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.4535, allocations: 469.4 kB / 376.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4535, allocations: 0 / 376.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.4541, allocations: 171.9 kB / 376.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.4567, allocations: 270 kB / 377.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.466, allocations: 4.078 MB / 381.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.4668, allocations: 0.9414 MB / 382.1 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.4674, allocations: 243.3 kB / 382.4 MB, free: 9.688 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4674, allocations: 0 / 382.4 MB, free: 9.688 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.206/3.673, allocations: 14.9 MB / 397.3 MB, free: 10.8 MB / 330.7 MB