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.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 234.9 MB / 250.4 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005913/0.0005914, allocations: 15.98 kB / 314.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3696, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2304/0.6001, allocations: 126.1 MB / 495.4 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.6127, allocations: 6.829 MB / 0.4905 GB, free: 7.461 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.613, allocations: 0 / 0.4905 GB, free: 7.461 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.6133, allocations: 39.8 kB / 0.4905 GB, free: 7.422 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004747/0.6181, allocations: 1.169 MB / 0.4916 GB, free: 6.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.6187, allocations: 131.8 kB / 0.4918 GB, free: 6.121 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.6193, allocations: 271.4 kB / 0.492 GB, free: 5.855 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.838e-05/0.6194, allocations: 13.67 kB / 0.492 GB, free: 5.844 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.6198, allocations: 159.5 kB / 0.4922 GB, free: 5.688 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.6202, allocations: 159.5 kB / 0.4923 GB, free: 5.531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.6203, allocations: 8 kB / 0.4924 GB, free: 5.523 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.624, allocations: 1.117 MB / 0.4934 GB, free: 4.406 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6242, allocations: 43.88 kB / 0.4935 GB, free: 4.363 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.6243, allocations: 57.64 kB / 0.4935 GB, free: 4.301 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.626, allocations: 0.6325 MB / 0.4942 GB, free: 3.668 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.626, allocations: 0 / 0.4942 GB, free: 3.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.626, allocations: 0 / 0.4942 GB, free: 3.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.626, allocations: 4 kB / 0.4942 GB, free: 3.664 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001776/0.6278, allocations: 0.6592 MB / 0.4948 GB, free: 2.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.6279, allocations: 8.031 kB / 0.4948 GB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.836e-05/0.628, allocations: 62.48 kB / 0.4949 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.6408, allocations: 0.5965 MB / 0.4955 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.6413, allocations: 254.8 kB / 0.4957 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.6416, allocations: 127.3 kB / 0.4958 GB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.6418, allocations: 24 kB / 0.4958 GB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.6439, allocations: 0.5634 MB / 0.4964 GB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.6439, allocations: 3.938 kB / 0.4964 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.644, allocations: 12 kB / 0.4964 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.6441, allocations: 8 kB / 0.4964 GB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6466, allocations: 0.626 MB / 0.497 GB, free: 0.5703 MB / 426.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.3313/0.9779, allocations: 1.622 MB / 0.4986 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.9785, allocations: 154.7 kB / 0.4988 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.9795, allocations: 0.6645 MB / 0.4994 GB, free: 135.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.9796, allocations: 35.38 kB / 0.4994 GB, free: 135.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.546e-06/0.9796, allocations: 0 / 0.4994 GB, free: 135.7 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001649/0.9813, allocations: 331.5 kB / 0.4998 GB, free: 135.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.9813, allocations: 57.45 kB / 0.4998 GB, free: 135.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.9816, allocations: 190.8 kB / 0.5 GB, free: 135.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.9816, allocations: 31.48 kB / 0.5 GB, free: 135.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.9818, allocations: 260.3 kB / 0.5003 GB, free: 135.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.9819, allocations: 63.91 kB / 0.5003 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.9819, allocations: 8.281 kB / 0.5003 GB, free: 135.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.982, allocations: 326.1 kB / 0.5006 GB, free: 134.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.9822, allocations: 63.45 kB / 0.5007 GB, free: 134.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.9826, allocations: 264.8 kB / 0.501 GB, free: 134.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.9829, allocations: 101.2 kB / 0.5011 GB, free: 134.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.983, allocations: 2.312 kB / 0.5011 GB, free: 134.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001085/0.9841, allocations: 365 kB / 0.5014 GB, free: 134.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.9841, allocations: 8.562 kB / 0.5014 GB, free: 134.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.9841, allocations: 7.031 kB / 0.5014 GB, free: 134.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/0.9842, allocations: 10.12 kB / 0.5014 GB, free: 134.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.985, allocations: 127 kB / 0.5016 GB, free: 134.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003458/0.9853, allocations: 0.6103 MB / 0.5022 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.9858, allocations: 43.61 kB / 0.5022 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.829e-05/0.9859, allocations: 43.56 kB / 0.5022 GB, free: 133.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001814/0.9861, allocations: 146.2 kB / 0.5024 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.9862, allocations: 22.45 kB / 0.5024 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.9874, allocations: 298.6 kB / 0.5027 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.9874, allocations: 1.125 kB / 0.5027 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9874, allocations: 4.844 kB / 0.5027 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9874, allocations: 4.016 kB / 0.5027 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/0.9884, allocations: 0.5167 MB / 0.5032 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9884, allocations: 2.5 kB / 0.5032 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.9888, allocations: 62.72 kB / 0.5033 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.9888, allocations: 0.7031 kB / 0.5033 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.9889, allocations: 9.062 kB / 0.5033 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002791/0.9892, allocations: 0.5932 MB / 0.5038 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9892, allocations: 0 / 0.5038 GB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.9897, allocations: 274.4 kB / 0.5041 GB, free: 132.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.9898, allocations: 117.3 kB / 0.5042 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.9899, allocations: 3.5 kB / 0.5042 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.9903, allocations: 23.22 kB / 0.5042 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.9904, allocations: 18.56 kB / 0.5043 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.9905, allocations: 20.27 kB / 0.5043 GB, free: 132.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.9906, allocations: 135.5 kB / 0.5044 GB, free: 132.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9906, allocations: 0 / 0.5044 GB, free: 132.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000889/0.9915, allocations: 189.9 kB / 0.5046 GB, free: 132.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001524/0.9931, allocations: 1.015 MB / 0.5056 GB, free: 131.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007659/0.9938, allocations: 218.4 kB / 0.5058 GB, free: 131.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9939, allocations: 4.438 kB / 0.5058 GB, free: 131.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.9942, allocations: 89.39 kB / 0.5059 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.9948, allocations: 53 kB / 0.5059 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.9975, allocations: 1.395 MB / 0.5073 GB, free: 130.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.9978, allocations: 0.7287 MB / 0.508 GB, free: 129.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.9982, allocations: 91.78 kB / 0.5081 GB, free: 129.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.9982, allocations: 4 kB / 0.5081 GB, free: 129.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.846/3.845, allocations: 6.571 MB / 0.5145 GB, free: 123.1 MB / 426.7 MB