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_dT.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_dT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.058/2.058, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006054/0.0006055, allocations: 16 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3509, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01114/0.3621, allocations: 7.429 MB / 338.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.3852, allocations: 12.87 MB / 351.6 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.3856, allocations: 1.188 kB / 351.6 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.386, allocations: 58.58 kB / 351.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.3979, allocations: 2.606 MB / 354.2 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.3986, allocations: 138.5 kB / 354.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01571/0.4143, allocations: 7.137 MB / 361.5 MB, free: 232 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.99e-05/0.4144, allocations: 16.39 kB / 361.5 MB, free: 216 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.4147, allocations: 139.6 kB / 361.7 MB, free: 76 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02961/0.4444, allocations: 13.81 MB / 375.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.4445, allocations: 4 kB / 375.5 MB, free: 2.25 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.007565/0.4521, allocations: 2.131 MB / 377.6 MB, free: 120 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4522, allocations: 43.81 kB / 377.7 MB, free: 76 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.4524, allocations: 73.69 kB / 377.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.456, allocations: 1.013 MB / 378.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4561, allocations: 4 kB / 378.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4561, allocations: 0 / 378.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.4561, allocations: 0 / 378.7 MB, free: 14.98 MB / 314.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.002931/0.459, allocations: 0.8648 MB / 379.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4591, allocations: 8.031 kB / 379.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.4592, allocations: 66.53 kB / 379.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.4599, allocations: 79.61 kB / 379.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.4603, allocations: 250.7 kB / 380 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.4604, allocations: 24.56 kB / 380 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.4604, allocations: 24 kB / 380.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.4618, allocations: 481.4 kB / 380.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4618, allocations: 4 kB / 380.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.4619, allocations: 12 kB / 380.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.4619, allocations: 8 kB / 380.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.4636, allocations: 0.6812 MB / 381.2 MB, free: 12.37 MB / 314.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.01034/0.4739, allocations: 3.103 MB / 384.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.4748, allocations: 219.3 kB / 384.5 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1298/0.6046, allocations: 28.79 MB / 413.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/0.6056, allocations: 341.8 kB / 413.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.6056, allocations: 0 / 413.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=37): time 0.004161/0.6098, allocations: 0.9658 MB / 414.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.61, allocations: 483.3 kB / 415.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.6102, allocations: 154.3 kB / 415.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.6102, allocations: 33.7 kB / 415.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.6104, allocations: 230.4 kB / 415.5 MB, free: 7.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.6105, allocations: 130.1 kB / 415.6 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.6106, allocations: 12 kB / 415.7 MB, free: 7.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6107, allocations: 334.8 kB / 416 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.611, allocations: 81.02 kB / 416.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.6114, allocations: 310.1 kB / 416.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.6117, allocations: 119.9 kB / 416.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.6117, allocations: 0 / 416.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001098/0.6128, allocations: 438.9 kB / 416.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.6129, allocations: 11.98 kB / 416.9 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.6129, allocations: 12 kB / 416.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/0.6159, allocations: 297.8 kB / 417.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.6165, allocations: 103.8 kB / 417.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/0.6173, allocations: 1.219 MB / 418.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.6177, allocations: 23.91 kB / 418.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.6178, allocations: 28.09 kB / 418.6 MB, free: 4.148 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.618, allocations: 165.5 kB / 418.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.6181, allocations: 27.77 kB / 418.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.6204, allocations: 1.076 MB / 419.9 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.6205, allocations: 16 kB / 419.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6205, allocations: 0 / 419.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6205, allocations: 7.984 kB / 419.9 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.6227, allocations: 1.556 MB / 421.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6228, allocations: 4 kB / 421.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.623, allocations: 39.91 kB / 421.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.6249, allocations: 253.5 kB / 421.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.625, allocations: 8 kB / 421.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008556/0.6258, allocations: 1.262 MB / 423 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/0.6259, allocations: 7.938 kB / 423 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.6268, allocations: 0.5991 MB / 423.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.6271, allocations: 220 kB / 423.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.6272, allocations: 15.98 kB / 423.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.6277, allocations: 12 kB / 423.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.6278, allocations: 27.92 kB / 423.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.6278, allocations: 12 kB / 423.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004534/0.6283, allocations: 271.1 kB / 424.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6283, allocations: 0 / 424.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001765/0.6301, allocations: 451.5 kB / 424.6 MB, free: 13.82 MB / 362.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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00316/0.6332, allocations: 1.681 MB / 426.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009455/0.6342, allocations: 371.5 kB / 426.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.6342, allocations: 0 / 426.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.6347, allocations: 230.8 kB / 426.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.6356, allocations: 101.4 kB / 427 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.6409, allocations: 2.578 MB / 429.5 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.6414, allocations: 0.8506 MB / 430.4 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.6417, allocations: 163.4 kB / 430.5 MB, free: 7.562 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6418, allocations: 0 / 430.5 MB, free: 7.562 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.139/3.781, allocations: 15.94 MB / 446.5 MB, free: 7.594 MB / 378.7 MB