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.IncompleteMedia.ReferenceMoistAir.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.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 234.9 MB / 250.4 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005961/0.0005964, allocations: 12 kB / 314.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3801, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04164/0.4218, allocations: 22.46 MB / 391.7 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02169/0.4436, allocations: 10.52 MB / 402.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.4439, allocations: 0 / 402.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.4442, allocations: 51.77 kB / 402.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02514/0.4694, allocations: 6.254 MB / 408.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.4704, allocations: 207.6 kB / 408.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008086/0.4712, allocations: 319.9 kB / 409.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.4713, allocations: 20.31 kB / 409.1 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.4717, allocations: 187.4 kB / 409.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02643/0.4982, allocations: 11.07 MB / 420.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.312e-05/0.4983, allocations: 12 kB / 420.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03033/0.5287, allocations: 11.27 MB / 431.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.5289, allocations: 75.77 kB / 431.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.529, allocations: 81.52 kB / 431.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.5414, allocations: 4.058 MB / 435.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5414, allocations: 0 / 435.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.5415, allocations: 4 kB / 435.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.5415, allocations: 4 kB / 435.9 MB, free: 10.05 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00522/0.5467, allocations: 1.458 MB / 437.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5468, allocations: 8.031 kB / 437.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.5469, allocations: 66.5 kB / 437.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.5471, allocations: 39.7 kB / 437.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.5475, allocations: 238.7 kB / 437.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.5475, allocations: 20.56 kB / 437.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.5476, allocations: 27.98 kB / 437.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5488, allocations: 0.4973 MB / 438.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5489, allocations: 0 / 438.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.5489, allocations: 12 kB / 438.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.549, allocations: 28.52 kB / 438.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.5508, allocations: 0.888 MB / 439.1 MB, free: 6.641 MB / 362.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.003203/0.554, allocations: 1.921 MB / 441.1 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.5551, allocations: 334 kB / 441.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02527/0.5804, allocations: 13.22 MB / 454.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/0.5811, allocations: 248.4 kB / 454.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 6.172e-06/0.5812, allocations: 0 / 454.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.003287/0.5845, allocations: 0.7859 MB / 455.6 MB, free: 3.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.5847, allocations: 273.2 kB / 455.9 MB, free: 3.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.585, allocations: 206.1 kB / 456.1 MB, free: 2.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.585, allocations: 33.7 kB / 456.1 MB, free: 2.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.5852, allocations: 261.9 kB / 456.4 MB, free: 2.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.5854, allocations: 130.2 kB / 456.5 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.5854, allocations: 12 kB / 456.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5856, allocations: 330.8 kB / 456.9 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.5858, allocations: 93.06 kB / 456.9 MB, free: 2.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.5865, allocations: 361.5 kB / 457.3 MB, free: 1.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.5871, allocations: 150.4 kB / 457.4 MB, free: 1.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5871, allocations: 4 kB / 457.4 MB, free: 1.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001771/0.5889, allocations: 0.4896 MB / 457.9 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.5889, allocations: 8.188 kB / 457.9 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.589, allocations: 12 kB / 458 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.589, allocations: 19.98 kB / 458 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.5902, allocations: 175.8 kB / 458.1 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008852/0.5911, allocations: 1.203 MB / 459.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.5917, allocations: 20 kB / 459.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.5918, allocations: 43.98 kB / 459.4 MB, free: 15.38 MB / 394.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002788/0.5921, allocations: 165.6 kB / 459.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.5924, allocations: 39.66 kB / 459.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.5941, allocations: 482.1 kB / 460.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5941, allocations: 4 kB / 460.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5942, allocations: 3.953 kB / 460.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5942, allocations: 0 / 460.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.5956, allocations: 0.6177 MB / 460.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5957, allocations: 4 kB / 460.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.5964, allocations: 79.88 kB / 460.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.5964, allocations: 7.984 kB / 460.8 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.5964, allocations: 7.938 kB / 460.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006927/0.5971, allocations: 1.18 MB / 462 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5972, allocations: 0 / 462 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/0.598, allocations: 323.9 kB / 462.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.5982, allocations: 132.7 kB / 462.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.5983, allocations: 0 / 462.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.5988, allocations: 15.98 kB / 462.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.5988, allocations: 27.92 kB / 462.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.5989, allocations: 8 kB / 462.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002428/0.5991, allocations: 172.5 kB / 462.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5992, allocations: 0 / 462.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005801/0.605, allocations: 1.593 MB / 464.2 MB, free: 10.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0228/0.6278, allocations: 2.779 MB / 467 MB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.6301, allocations: 319.8 kB / 467.3 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.6301, allocations: 4.625 kB / 467.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.6312, allocations: 131.9 kB / 467.5 MB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6323, allocations: 60.38 kB / 467.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/0.6423, allocations: 2.275 MB / 469.8 MB, free: 4.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.6429, allocations: 0.7605 MB / 470.6 MB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005328/0.6434, allocations: 115.4 kB / 470.7 MB, free: 3.633 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6435, allocations: 0 / 470.7 MB, free: 3.633 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.489/5.132, allocations: 40.12 MB / 0.4988 GB, free: 124.3 MB / 426.7 MB