Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.037/2.037, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.000599, allocations: 11.94 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4641, allocations: 48.71 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008148/0.4723, allocations: 4.045 MB / 335.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.4802, allocations: 3.686 MB / 339 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.4805, allocations: 6.281 kB / 339 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.4809, allocations: 39.48 kB / 339 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.484, allocations: 0.5779 MB / 339.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00086/0.4849, allocations: 154.2 kB / 339.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008153/0.4857, allocations: 253.2 kB / 340 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.446e-05/0.4858, allocations: 14.84 kB / 340 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004075/0.4863, allocations: 139.2 kB / 340.2 MB, free: 432 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.4866, allocations: 115.2 kB / 340.3 MB, free: 372 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.4867, allocations: 6.781 kB / 340.3 MB, free: 372 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.4884, allocations: 304.9 kB / 340.6 MB, free: 276 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4886, allocations: 40.14 kB / 340.6 MB, free: 248 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.4887, allocations: 67.52 kB / 340.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.4897, allocations: 276.6 kB / 341 MB, free: 56 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4897, allocations: 1.406 kB / 341 MB, free: 56 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4897, allocations: 0 / 341 MB, free: 56 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4898, allocations: 0 / 341 MB, free: 56 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00153/0.4913, allocations: 0.5409 MB / 341.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4914, allocations: 9.656 kB / 341.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.4915, allocations: 58.61 kB / 341.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.4917, allocations: 35.19 kB / 341.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4921, allocations: 224.4 kB / 341.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.4923, allocations: 120.2 kB / 341.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.4924, allocations: 21.97 kB / 342 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.4932, allocations: 335.7 kB / 342.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.4933, allocations: 1.062 kB / 342.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.4933, allocations: 11.25 kB / 342.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.4934, allocations: 6.656 kB / 342.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.4948, allocations: 0.7354 MB / 343 MB, free: 14.52 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.002258/0.497, allocations: 1.287 MB / 344.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.4976, allocations: 154.1 kB / 344.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003653/0.5012, allocations: 2.604 MB / 347.1 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5013, allocations: 41.09 kB / 347.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.475e-06/0.5013, allocations: 0 / 347.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001069/0.5024, allocations: 233.8 kB / 347.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5025, allocations: 56.62 kB / 347.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.5028, allocations: 206 kB / 347.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.5028, allocations: 30.92 kB / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.503, allocations: 275.3 kB / 347.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.5031, allocations: 59.45 kB / 348 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.5032, allocations: 9.594 kB / 348 MB, free: 9.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5033, allocations: 331 kB / 348.3 MB, free: 9.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.5035, allocations: 45.25 kB / 348.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.5039, allocations: 312.8 kB / 348.7 MB, free: 8.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.5041, allocations: 98.11 kB / 348.8 MB, free: 8.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5042, allocations: 2.844 kB / 348.8 MB, free: 8.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009026/0.5051, allocations: 375.4 kB / 349.1 MB, free: 8.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.5051, allocations: 8.375 kB / 349.1 MB, free: 8.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.5052, allocations: 13.83 kB / 349.1 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.331e-05/0.5052, allocations: 21.75 kB / 349.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.5059, allocations: 105.6 kB / 349.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.179e-05/0.506, allocations: 23.7 kB / 349.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.5064, allocations: 19.34 kB / 349.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.5064, allocations: 30.2 kB / 349.3 MB, free: 8.453 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0002169/0.5067, allocations: 155.5 kB / 349.5 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.5068, allocations: 18.31 kB / 349.5 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.5074, allocations: 177.5 kB / 349.7 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.5074, allocations: 6.172 kB / 349.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5075, allocations: 1.188 kB / 349.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.5075, allocations: 3.984 kB / 349.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.5083, allocations: 434.8 kB / 350.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5083, allocations: 4.906 kB / 350.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.5086, allocations: 31.91 kB / 350.2 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.5087, allocations: 5.172 kB / 350.2 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.5087, allocations: 10.31 kB / 350.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5087, allocations: 1.375 kB / 350.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5087, allocations: 0 / 350.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.5091, allocations: 215.3 kB / 350.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.5093, allocations: 122.4 kB / 350.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.5094, allocations: 9.359 kB / 350.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.5098, allocations: 12.83 kB / 350.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.5098, allocations: 9.547 kB / 350.5 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.5098, allocations: 12.98 kB / 350.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.51, allocations: 143.5 kB / 350.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5101, allocations: 0 / 350.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000734/0.5108, allocations: 97.3 kB / 350.8 MB, free: 7.273 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.000947/0.5118, allocations: 0.8047 MB / 351.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005279/0.5123, allocations: 174.5 kB / 351.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5123, allocations: 1.094 kB / 351.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.5124, allocations: 43.48 kB / 351.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.5131, allocations: 45.45 kB / 351.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.5161, allocations: 1.402 MB / 353.2 MB, free: 5.219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.5166, allocations: 0.7293 MB / 354 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.5168, allocations: 72.59 kB / 354 MB, free: 4.449 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5168, allocations: 0 / 354 MB, free: 4.449 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.675/3.192, allocations: 4.193 MB / 358.2 MB, free: 2.207 MB / 282.7 MB