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_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 209.2 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004458, allocations: 12 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01263/0.122, allocations: 7.432 MB / 338.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2832/0.4052, allocations: 12.86 MB / 351.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.4056, allocations: 1.375 kB / 351.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.406, allocations: 61 kB / 351.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01608/0.4221, allocations: 2.589 MB / 354.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.4231, allocations: 138.6 kB / 354.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02221/0.4453, allocations: 7.142 MB / 361.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.4454, allocations: 19.33 kB / 361.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.4458, allocations: 142.3 kB / 361.7 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03486/0.4807, allocations: 13.81 MB / 375.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.184e-05/0.4808, allocations: 8 kB / 375.5 MB, free: 9.168 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.008356/0.4892, allocations: 2.146 MB / 377.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.4894, allocations: 39.88 kB / 377.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.4896, allocations: 73.58 kB / 377.7 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.4934, allocations: 1.02 MB / 378.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4935, allocations: 0 / 378.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.4935, allocations: 0 / 378.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4935, allocations: 0 / 378.8 MB, free: 5.887 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.003035/0.4965, allocations: 0.8617 MB / 379.6 MB, free: 4.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4966, allocations: 8.031 kB / 379.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.4967, allocations: 71.05 kB / 379.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/0.4975, allocations: 79.61 kB / 379.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4979, allocations: 254.7 kB / 380 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.498, allocations: 20.56 kB / 380 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.498, allocations: 24 kB / 380.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.4994, allocations: 485.4 kB / 380.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4995, allocations: 3.938 kB / 380.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.4995, allocations: 12 kB / 380.6 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.4996, allocations: 8 kB / 380.6 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.5012, allocations: 0.6812 MB / 381.2 MB, free: 3.266 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.01191/0.5131, allocations: 4.319 MB / 385.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007305/0.5139, allocations: 163.1 kB / 385.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03975/0.5537, allocations: 14.36 MB / 400.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009699/0.5547, allocations: 313.7 kB / 400.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.276e-06/0.5547, allocations: 0 / 400.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001915/0.5566, allocations: 442.5 kB / 400.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.5569, allocations: 482.6 kB / 401.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.5572, allocations: 186.2 kB / 401.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.5573, allocations: 29.7 kB / 401.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.5574, allocations: 254 kB / 401.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5576, allocations: 106.6 kB / 401.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.5576, allocations: 8 kB / 401.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5577, allocations: 326.8 kB / 402.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.558, allocations: 64.83 kB / 402.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.5583, allocations: 306.7 kB / 402.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.5587, allocations: 111.8 kB / 402.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.5587, allocations: 8 kB / 402.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001046/0.5598, allocations: 389.6 kB / 403.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.5598, allocations: 8 kB / 403.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.5598, allocations: 12 kB / 403.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.5599, allocations: 15.95 kB / 403.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.5605, allocations: 108.5 kB / 403.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.5605, allocations: 19.92 kB / 403.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.561, allocations: 55.44 kB / 403.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/0.5611, allocations: 28 kB / 403.3 MB, free: 10.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * 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.0002412/0.5613, allocations: 157.6 kB / 403.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5615, allocations: 19.81 kB / 403.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.5634, allocations: 0.813 MB / 404.3 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5634, allocations: 4 kB / 404.3 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5635, allocations: 8.766 kB / 404.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.5635, allocations: 7.984 kB / 404.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.5653, allocations: 1.207 MB / 405.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5654, allocations: 8.031 kB / 405.5 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.5656, allocations: 35.91 kB / 405.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.5657, allocations: 4 kB / 405.6 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.5657, allocations: 11.12 kB / 405.6 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.5657, allocations: 4 kB / 405.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.5657, allocations: 7.938 kB / 405.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.5663, allocations: 382.4 kB / 405.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5667, allocations: 220.1 kB / 406.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5668, allocations: 8 kB / 406.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.5672, allocations: 19.92 kB / 406.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5673, allocations: 15.94 kB / 406.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.5673, allocations: 12 kB / 406.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005268/0.5679, allocations: 286.9 kB / 406.5 MB, free: 7 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5679, allocations: 4 kB / 406.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001863/0.5698, allocations: 423.5 kB / 406.9 MB, free: 6.582 MB / 330.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003099/0.5729, allocations: 1.425 MB / 408.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007176/0.5736, allocations: 233.7 kB / 408.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5737, allocations: 192 / 408.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.5739, allocations: 87.84 kB / 408.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5749, allocations: 90.58 kB / 408.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.5799, allocations: 2.369 MB / 411.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.5804, allocations: 0.8148 MB / 411.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.5807, allocations: 147.7 kB / 412.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5807, allocations: 0 / 412.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.521, allocations: 12.38 MB / 424.5 MB, free: 4.738 MB / 346.7 MB