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.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004408, allocations: 8 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.349, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04133/0.3904, allocations: 22.52 MB / 391.8 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.3952, allocations: 2.569 MB / 394.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3955, allocations: 0 / 394.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.3958, allocations: 47.72 kB / 394.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.3982, allocations: 0.5959 MB / 395 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.3988, allocations: 123.8 kB / 395.1 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.3995, allocations: 255.4 kB / 395.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.786e-05/0.3995, allocations: 13.69 kB / 395.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0677/0.4673, allocations: 22.15 MB / 417.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000424/0.4677, allocations: 131.6 kB / 417.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.4678, allocations: 4 kB / 417.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/0.4839, allocations: 5.571 MB / 423.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.484, allocations: 39.88 kB / 423.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.4842, allocations: 65.58 kB / 423.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008755/0.485, allocations: 283.4 kB / 423.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4851, allocations: 0 / 423.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4851, allocations: 0 / 423.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.4851, allocations: 0 / 423.6 MB, free: 4.281 MB / 346.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.001494/0.4866, allocations: 0.5616 MB / 424.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4867, allocations: 12.03 kB / 424.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.375e-05/0.4868, allocations: 58.55 kB / 424.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.487, allocations: 31.75 kB / 424.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.4873, allocations: 218.8 kB / 424.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.4875, allocations: 127.4 kB / 424.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.4876, allocations: 23.88 kB / 424.6 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.4884, allocations: 327.7 kB / 425 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4884, allocations: 3.938 kB / 425 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.4885, allocations: 12 kB / 425 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.4885, allocations: 8 kB / 425 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.4899, allocations: 0.7391 MB / 425.7 MB, free: 2.027 MB / 346.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.002036/0.4919, allocations: 1.347 MB / 427.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.4924, allocations: 159.8 kB / 427.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003809/0.4963, allocations: 2.864 MB / 430.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4963, allocations: 38.56 kB / 430.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/0.4964, allocations: 0 / 430.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005203/0.4969, allocations: 143.4 kB / 430.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.4969, allocations: 55.41 kB / 430.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4972, allocations: 206.8 kB / 430.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.4973, allocations: 25.7 kB / 430.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.4974, allocations: 281.2 kB / 430.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.4975, allocations: 55.28 kB / 430.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.4976, allocations: 8 kB / 430.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4977, allocations: 326.8 kB / 431.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.4979, allocations: 44.84 kB / 431.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.4983, allocations: 322.1 kB / 431.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.4986, allocations: 107.8 kB / 431.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4986, allocations: 4 kB / 431.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008703/0.4995, allocations: 361.7 kB / 432 MB, free: 10.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4995, allocations: 16.06 kB / 432 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.4995, allocations: 8 kB / 432 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/0.4996, allocations: 19.94 kB / 432.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.5001, allocations: 95.83 kB / 432.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.5001, allocations: 23.88 kB / 432.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.5005, allocations: 59.38 kB / 432.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.5006, allocations: 24 kB / 432.3 MB, free: 10.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001913/0.5008, allocations: 157.6 kB / 432.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.5009, allocations: 19.81 kB / 432.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.5015, allocations: 181.4 kB / 432.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.5015, allocations: 0 / 432.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.5015, allocations: 4.062 kB / 432.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.5016, allocations: 7.953 kB / 432.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007937/0.5024, allocations: 449.5 kB / 433.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5024, allocations: 4 kB / 433.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.5025, allocations: 19.94 kB / 433.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.5026, allocations: 7.938 kB / 433.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.5026, allocations: 4 kB / 433.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5026, allocations: 0 / 433.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5026, allocations: 0 / 433.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.5029, allocations: 226.8 kB / 433.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.5031, allocations: 116.7 kB / 433.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.5031, allocations: 7.953 kB / 433.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.5034, allocations: 11.98 kB / 433.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.5035, allocations: 11.98 kB / 433.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5035, allocations: 4 kB / 433.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.5037, allocations: 152.5 kB / 433.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5037, allocations: 0 / 433.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007229/0.5044, allocations: 99.94 kB / 433.7 MB, free: 9.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * 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.0009454/0.5054, allocations: 0.829 MB / 434.5 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.5059, allocations: 172.2 kB / 434.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5059, allocations: 1.938 kB / 434.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.506, allocations: 31.92 kB / 434.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.5066, allocations: 49.58 kB / 434.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.5092, allocations: 1.414 MB / 436.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.5096, allocations: 0.7326 MB / 436.9 MB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.5098, allocations: 67.41 kB / 437 MB, free: 5.484 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5098, allocations: 0 / 437 MB, free: 5.484 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.544/3.054, allocations: 4.333 MB / 441.3 MB, free: 1.152 MB / 362.7 MB