Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004441, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3697, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006852/0.3766, allocations: 4.058 MB / 373.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006963/0.3836, allocations: 3.683 MB / 377 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.3839, allocations: 7.875 kB / 377 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.3843, allocations: 39.78 kB / 377.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.3869, allocations: 0.5609 MB / 377.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.3877, allocations: 159.6 kB / 377.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007372/0.3884, allocations: 255.4 kB / 378 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.828e-05/0.3885, allocations: 9.688 kB / 378 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.3889, allocations: 143.5 kB / 378.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.3892, allocations: 115.6 kB / 378.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.3892, allocations: 8 kB / 378.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.3906, allocations: 303.7 kB / 378.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3907, allocations: 43.81 kB / 378.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3908, allocations: 61.64 kB / 378.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008862/0.3917, allocations: 276.3 kB / 379 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3918, allocations: 0 / 379 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3918, allocations: 0 / 379 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3918, allocations: 0 / 379 MB, free: 0.9844 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001374/0.3932, allocations: 0.5383 MB / 379.5 MB, free: 408 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.3932, allocations: 8.031 kB / 379.5 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.3934, allocations: 58.55 kB / 379.6 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.3936, allocations: 31.7 kB / 379.6 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3939, allocations: 222.8 kB / 379.8 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.3942, allocations: 127.4 kB / 379.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.3942, allocations: 19.95 kB / 380 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.3951, allocations: 331.6 kB / 380.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3951, allocations: 0 / 380.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.3952, allocations: 15.98 kB / 380.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.3953, allocations: 8 kB / 380.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.3967, allocations: 0.743 MB / 381.1 MB, free: 14.75 MB / 314.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.002094/0.3988, allocations: 1.289 MB / 382.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.3993, allocations: 142.8 kB / 382.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00321/0.4025, allocations: 2.618 MB / 385.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4026, allocations: 34.56 kB / 385.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.4026, allocations: 0 / 385.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009818/0.4036, allocations: 240.4 kB / 385.4 MB, free: 9.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4037, allocations: 59.39 kB / 385.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.404, allocations: 203.6 kB / 385.6 MB, free: 9.527 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.404, allocations: 25.7 kB / 385.6 MB, free: 9.496 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.4042, allocations: 277.3 kB / 385.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.4043, allocations: 63.2 kB / 386 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.4043, allocations: 4 kB / 386 MB, free: 9.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4045, allocations: 330.8 kB / 386.3 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4046, allocations: 48.83 kB / 386.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.405, allocations: 312.3 kB / 386.7 MB, free: 8.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.4053, allocations: 103.9 kB / 386.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4053, allocations: 8 kB / 386.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008713/0.4062, allocations: 356.8 kB / 387.1 MB, free: 7.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4062, allocations: 11 kB / 387.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.4062, allocations: 12 kB / 387.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/0.4063, allocations: 16 kB / 387.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.407, allocations: 111.8 kB / 387.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/0.407, allocations: 19.92 kB / 387.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.4074, allocations: 20 kB / 387.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.4074, allocations: 24 kB / 387.3 MB, free: 7.668 MB / 314.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.000199/0.4077, allocations: 157.5 kB / 387.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.4077, allocations: 27.66 kB / 387.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.4084, allocations: 184.9 kB / 387.7 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.851e-05/0.4084, allocations: 4 kB / 387.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4084, allocations: 0 / 387.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4084, allocations: 3.984 kB / 387.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.4092, allocations: 431.2 kB / 388.1 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4092, allocations: 0 / 388.1 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.4095, allocations: 39.91 kB / 388.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4096, allocations: 4.156 kB / 388.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4096, allocations: 11.98 kB / 388.2 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4096, allocations: 0 / 388.2 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4096, allocations: 3.984 kB / 388.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.41, allocations: 220.1 kB / 388.4 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.4101, allocations: 112.9 kB / 388.5 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.4102, allocations: 4 kB / 388.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.4106, allocations: 11.98 kB / 388.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.4106, allocations: 11.98 kB / 388.5 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.4106, allocations: 11.94 kB / 388.5 MB, free: 6.336 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.4108, allocations: 144.5 kB / 388.7 MB, free: 6.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4109, allocations: 3.938 kB / 388.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006989/0.4116, allocations: 99.98 kB / 388.8 MB, free: 6.094 MB / 314.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.0008836/0.4125, allocations: 0.807 MB / 389.6 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.413, allocations: 178 kB / 389.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.413, allocations: 0 / 389.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4131, allocations: 47.92 kB / 389.8 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.4137, allocations: 36.41 kB / 389.8 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.4164, allocations: 1.409 MB / 391.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.4168, allocations: 0.7442 MB / 392 MB, free: 2.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.417, allocations: 67.41 kB / 392.1 MB, free: 2.578 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.417, allocations: 0 / 392.1 MB, free: 2.578 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.677/3.094, allocations: 4.163 MB / 396.2 MB, free: 14.41 MB / 330.7 MB