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.IncompleteMedia.ReferenceAir_pT.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.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.162/2.162, allocations: 209.2 MB / 224.8 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 8 kB / 282.6 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 48.7 MB / 331.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01229/0.1184, allocations: 7.432 MB / 338.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2771/0.3956, allocations: 12.85 MB / 351.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.396, allocations: 9.312 kB / 351.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.3964, allocations: 57.16 kB / 351.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01295/0.4093, allocations: 2.603 MB / 354.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.41, allocations: 145.5 kB / 354.4 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01733/0.4274, allocations: 7.145 MB / 361.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.4275, allocations: 14.03 kB / 361.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.4278, allocations: 141.5 kB / 361.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03124/0.4591, allocations: 13.81 MB / 375.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.4592, allocations: 8 kB / 375.5 MB, free: 9.156 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/Air/ReferenceAir.mo:13:10-13:30:writable] Warning: 'each' used when modifying non-array element airConstants. Notification: Performance of NFFlatten.collectFunctions: time 0.009675/0.4689, allocations: 2.416 MB / 377.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4691, allocations: 43.81 kB / 377.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.4694, allocations: 69.64 kB / 378 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004812/0.4742, allocations: 1.142 MB / 379.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4742, allocations: 0 / 379.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4743, allocations: 0 / 379.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4743, allocations: 0 / 379.2 MB, free: 5.484 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003253/0.4775, allocations: 0.9163 MB / 380.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4776, allocations: 8.031 kB / 380.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.4777, allocations: 62.53 kB / 380.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.4785, allocations: 84.12 kB / 380.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.479, allocations: 234.8 kB / 380.5 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.479, allocations: 20.56 kB / 380.5 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.4791, allocations: 24 kB / 380.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.4805, allocations: 489.4 kB / 381 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.4806, allocations: 0 / 381 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.4806, allocations: 12 kB / 381 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4807, allocations: 12 kB / 381 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.4824, allocations: 0.6812 MB / 381.7 MB, free: 2.828 MB / 298.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.01129/0.4937, allocations: 3.147 MB / 384.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008738/0.4946, allocations: 215.3 kB / 385 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1459/0.6406, allocations: 31.46 MB / 416.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009632/0.6416, allocations: 341.8 kB / 416.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.106e-06/0.6416, allocations: 0 / 416.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.003797/0.6454, allocations: 0.8557 MB / 417.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002496/0.6457, allocations: 487 kB / 418.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.6459, allocations: 150.5 kB / 418.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.646, allocations: 37.7 kB / 418.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.6461, allocations: 230.3 kB / 418.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.6463, allocations: 126.2 kB / 418.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.6463, allocations: 12 kB / 418.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6465, allocations: 322.8 kB / 419 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.6467, allocations: 72.95 kB / 419.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.6471, allocations: 310.1 kB / 419.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.6474, allocations: 111.9 kB / 419.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.6474, allocations: 4 kB / 419.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001102/0.6485, allocations: 389.5 kB / 419.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.6486, allocations: 8.188 kB / 419.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.6486, allocations: 12 kB / 419.9 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.494e-05/0.6487, allocations: 12 kB / 419.9 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/0.6517, allocations: 268.1 kB / 420.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008383/0.6526, allocations: 1.188 MB / 421.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.653, allocations: 19.94 kB / 421.4 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.6531, allocations: 31.98 kB / 421.4 MB, free: 7.797 MB / 346.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.0002596/0.6534, allocations: 169.4 kB / 421.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.6535, allocations: 31.7 kB / 421.6 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.6558, allocations: 0.9554 MB / 422.6 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.6558, allocations: 16.2 kB / 422.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6559, allocations: 4 kB / 422.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6559, allocations: 7.938 kB / 422.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.6582, allocations: 1.419 MB / 424 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.6582, allocations: 0 / 424 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/0.66, allocations: 155.8 kB / 424.2 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.6601, allocations: 4 kB / 424.2 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.6601, allocations: 8 kB / 424.2 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000392/0.6605, allocations: 0.5898 MB / 424.8 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6606, allocations: 4.031 kB / 424.8 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.6615, allocations: 0.5088 MB / 425.3 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.6618, allocations: 228 kB / 425.5 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.6619, allocations: 15.95 kB / 425.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.6624, allocations: 19.92 kB / 425.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.6625, allocations: 23.92 kB / 425.6 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.6625, allocations: 15.98 kB / 425.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004598/0.663, allocations: 271.1 kB / 425.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.663, allocations: 0 / 425.8 MB, free: 3.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002033/0.665, allocations: 467.6 kB / 426.3 MB, free: 2.648 MB / 346.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.003532/0.6686, allocations: 1.642 MB / 427.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.671, allocations: 386.9 kB / 428.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.671, allocations: 4.062 kB / 428.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.6723, allocations: 224.6 kB / 428.5 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6734, allocations: 94.66 kB / 428.6 MB, free: 260 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.6788, allocations: 2.527 MB / 431.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.6794, allocations: 0.8351 MB / 432 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.6797, allocations: 159.4 kB / 432.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6797, allocations: 0 / 432.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.17/3.849, allocations: 14.8 MB / 447 MB, free: 13.7 MB / 378.7 MB