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.ReferenceAir_pT.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.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.279/2.279, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004336, allocations: 11.98 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3826, allocations: 54.88 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01242/0.395, allocations: 7.449 MB / 376.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.4181, allocations: 12.87 MB / 389.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.4184, allocations: 7.938 kB / 389.6 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.4188, allocations: 55.69 kB / 389.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.4297, allocations: 2.59 MB / 392.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.4304, allocations: 139.8 kB / 392.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01583/0.4463, allocations: 7.142 MB / 399.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.4464, allocations: 20.34 kB / 399.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.4467, allocations: 135.6 kB / 399.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02998/0.4767, allocations: 13.82 MB / 413.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.4768, allocations: 8 kB / 413.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008126/0.4849, allocations: 2.404 MB / 415.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4851, allocations: 43.81 kB / 416 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.4853, allocations: 73.58 kB / 416 MB, free: 11.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.4892, allocations: 1.138 MB / 417.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4893, allocations: 4 kB / 417.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4893, allocations: 0 / 417.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4893, allocations: 0 / 417.2 MB, free: 10.74 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003025/0.4923, allocations: 0.9085 MB / 418.1 MB, free: 9.785 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4924, allocations: 12.03 kB / 418.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.4925, allocations: 58.55 kB / 418.2 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007466/0.4933, allocations: 79.66 kB / 418.2 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.4937, allocations: 242.8 kB / 418.5 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.4937, allocations: 20.56 kB / 418.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.4938, allocations: 31.95 kB / 418.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4951, allocations: 485.3 kB / 419 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4952, allocations: 0 / 419 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.4952, allocations: 16 kB / 419 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.4953, allocations: 8 kB / 419 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.4969, allocations: 0.6773 MB / 419.7 MB, free: 8.09 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.01076/0.5077, allocations: 3.144 MB / 422.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/0.5086, allocations: 208 kB / 423 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1583/0.6669, allocations: 31.47 MB / 454.5 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/0.6679, allocations: 341.8 kB / 454.8 MB, free: 1.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.327e-06/0.668, allocations: 0 / 454.8 MB, free: 1.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003851/0.6718, allocations: 0.8569 MB / 455.7 MB, free: 1.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/0.6721, allocations: 478.7 kB / 456.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.6723, allocations: 161.8 kB / 456.3 MB, free: 380 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.6724, allocations: 41.69 kB / 456.4 MB, free: 332 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.6726, allocations: 230.4 kB / 456.6 MB, free: 100 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.6727, allocations: 126.3 kB / 456.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.6728, allocations: 8 kB / 456.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6729, allocations: 338.6 kB / 457.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.6732, allocations: 65.08 kB / 457.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.6736, allocations: 309.9 kB / 457.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.6739, allocations: 119.8 kB / 457.5 MB, free: 15.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6739, allocations: 0 / 457.5 MB, free: 15.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001057/0.675, allocations: 401.3 kB / 457.9 MB, free: 14.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.6751, allocations: 8 kB / 457.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.6751, allocations: 8 kB / 457.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.6751, allocations: 12 kB / 458 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.6781, allocations: 264 kB / 458.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008256/0.679, allocations: 1.18 MB / 459.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.6794, allocations: 23.91 kB / 459.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.6795, allocations: 32.17 kB / 459.4 MB, free: 13.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0002605/0.6798, allocations: 161.5 kB / 459.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.6799, allocations: 31.77 kB / 459.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.6822, allocations: 0.9583 MB / 460.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.6823, allocations: 8 kB / 460.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.6823, allocations: 4 kB / 460.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.6823, allocations: 3.984 kB / 460.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.6846, allocations: 1.43 MB / 462 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.6846, allocations: 0 / 462 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.6864, allocations: 151.9 kB / 462.2 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.6864, allocations: 4 kB / 462.2 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.6865, allocations: 11.98 kB / 462.2 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003725/0.6869, allocations: 0.586 MB / 462.8 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6869, allocations: 4 kB / 462.8 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.6877, allocations: 0.5083 MB / 463.3 MB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.688, allocations: 232 kB / 463.5 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6882, allocations: 8 kB / 463.5 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.6886, allocations: 15.98 kB / 463.6 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.6887, allocations: 31.86 kB / 463.6 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.6888, allocations: 12 kB / 463.6 MB, free: 8.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004857/0.6893, allocations: 267.1 kB / 463.9 MB, free: 8.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6893, allocations: 0 / 463.9 MB, free: 8.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001921/0.6912, allocations: 475.5 kB / 464.3 MB, free: 7.902 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003544/0.6948, allocations: 1.649 MB / 466 MB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.6971, allocations: 393.8 kB / 466.4 MB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6971, allocations: 0 / 466.4 MB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6983, allocations: 229.4 kB / 466.6 MB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.6993, allocations: 89.88 kB / 466.7 MB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.7047, allocations: 2.527 MB / 469.2 MB, free: 2.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.7053, allocations: 0.8273 MB / 470 MB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.7056, allocations: 167.4 kB / 470.2 MB, free: 1.762 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/0.7057, allocations: 7.938 kB / 470.2 MB, free: 1.754 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.249/3.955, allocations: 14.8 MB / 485 MB, free: 92.9 MB / 394.7 MB