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.FlueGasSixComponents.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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 234.9 MB / 250.4 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 16 kB / 314.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3906, allocations: 54.86 MB / 369.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2109/0.6016, allocations: 126.3 MB / 495.6 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.614, allocations: 6.823 MB / 0.4906 GB, free: 7.297 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.6143, allocations: 0 / 0.4906 GB, free: 7.297 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.6147, allocations: 55.7 kB / 0.4907 GB, free: 7.242 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007161/0.6219, allocations: 1.741 MB / 0.4924 GB, free: 5.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.6225, allocations: 131.7 kB / 0.4925 GB, free: 5.367 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008076/0.6233, allocations: 335.8 kB / 0.4928 GB, free: 5.039 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.6234, allocations: 20.31 kB / 0.4929 GB, free: 5.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.6241, allocations: 287 kB / 0.4931 GB, free: 4.738 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.6254, allocations: 375.3 kB / 0.4935 GB, free: 4.371 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.6255, allocations: 8 kB / 0.4935 GB, free: 4.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.6357, allocations: 2.648 MB / 0.4961 GB, free: 1.711 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.636, allocations: 147.7 kB / 0.4962 GB, free: 1.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.6362, allocations: 105.5 kB / 0.4963 GB, free: 1.457 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003993/0.6402, allocations: 1.249 MB / 0.4975 GB, free: 212 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6403, allocations: 7.938 kB / 0.4976 GB, free: 204 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6403, allocations: 0 / 0.4976 GB, free: 204 kB / 426.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.6403, allocations: 0 / 0.4976 GB, free: 204 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.3051/0.9455, allocations: 0.8425 MB / 0.4984 GB, free: 137.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.9456, allocations: 9.281 kB / 0.4984 GB, free: 137.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.9458, allocations: 86.27 kB / 0.4985 GB, free: 137.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/0.9519, allocations: 0.508 MB / 0.499 GB, free: 137.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.953, allocations: 326 kB / 0.4993 GB, free: 137.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.9533, allocations: 137.2 kB / 0.4994 GB, free: 137 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.9536, allocations: 32.14 kB / 0.4994 GB, free: 137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/0.9577, allocations: 1.118 MB / 0.5005 GB, free: 136.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.9577, allocations: 0 / 0.5005 GB, free: 136.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.958, allocations: 17.16 kB / 0.5005 GB, free: 136.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.9581, allocations: 58.84 kB / 0.5006 GB, free: 136.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006221/0.9644, allocations: 2.274 MB / 0.5028 GB, free: 135.8 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.005619/0.97, allocations: 2.447 MB / 0.5052 GB, free: 133.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.9705, allocations: 137.9 kB / 0.5053 GB, free: 133.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002353/0.9728, allocations: 1.185 MB / 0.5065 GB, free: 131.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.9729, allocations: 42.7 kB / 0.5065 GB, free: 131.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 4.538e-06/0.9729, allocations: 3.422 kB / 0.5065 GB, free: 131.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=22): time 0.002401/0.9753, allocations: 365.6 kB / 0.5069 GB, free: 131.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.9754, allocations: 51.41 kB / 0.5069 GB, free: 131.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.976, allocations: 348.1 kB / 0.5073 GB, free: 130.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.976, allocations: 33.7 kB / 0.5073 GB, free: 130.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.9763, allocations: 410.2 kB / 0.5077 GB, free: 130.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.465e-05/0.9764, allocations: 80.19 kB / 0.5078 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.9765, allocations: 16 kB / 0.5078 GB, free: 130.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9766, allocations: 345.2 kB / 0.5081 GB, free: 130 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.977, allocations: 117.9 kB / 0.5082 GB, free: 129.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.9777, allocations: 0.5662 MB / 0.5088 GB, free: 129.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.9784, allocations: 228.5 kB / 0.509 GB, free: 129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.9784, allocations: 6.875 kB / 0.509 GB, free: 129 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002397/0.9808, allocations: 0.7347 MB / 0.5097 GB, free: 128.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.9808, allocations: 15.95 kB / 0.5097 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.9809, allocations: 20 kB / 0.5098 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-05/0.9809, allocations: 24 kB / 0.5098 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.9821, allocations: 180.3 kB / 0.51 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/0.9825, allocations: 0.6211 MB / 0.5106 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/0.9835, allocations: 90.75 kB / 0.5106 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.9836, allocations: 60 kB / 0.5107 GB, free: 127.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0003242/0.984, allocations: 207.1 kB / 0.5109 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007046/0.9847, allocations: 90.62 kB / 0.511 GB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.9858, allocations: 279.9 kB / 0.5113 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.9858, allocations: 4 kB / 0.5113 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9859, allocations: 3.938 kB / 0.5113 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9859, allocations: 0 / 0.5113 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.9874, allocations: 0.7379 MB / 0.512 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9874, allocations: 0 / 0.512 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.9878, allocations: 47.91 kB / 0.512 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.9878, allocations: 0 / 0.512 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.9879, allocations: 8 kB / 0.512 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003174/0.9882, allocations: 0.5941 MB / 0.5126 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.9882, allocations: 7.938 kB / 0.5126 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.9888, allocations: 296.9 kB / 0.5129 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.989, allocations: 132.6 kB / 0.513 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.9891, allocations: 8 kB / 0.513 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.9899, allocations: 19.98 kB / 0.5131 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.99, allocations: 11.98 kB / 0.5131 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.99, allocations: 19.98 kB / 0.5131 GB, free: 124.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003856/0.9904, allocations: 219 kB / 0.5133 GB, free: 124.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.9904, allocations: 0 / 0.5133 GB, free: 124.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002334/0.9928, allocations: 387.7 kB / 0.5137 GB, free: 124 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.003753/0.9966, allocations: 1.324 MB / 0.515 GB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.9977, allocations: 343.4 kB / 0.5153 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.9977, allocations: 4.062 kB / 0.5153 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.998, allocations: 59.84 kB / 0.5154 GB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/0.9989, allocations: 73.59 kB / 0.5154 GB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/1.004, allocations: 2.38 MB / 0.5177 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/1.005, allocations: 0.796 MB / 0.5185 GB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/1.005, allocations: 131.4 kB / 0.5186 GB, free: 118.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/1.005, allocations: 0 / 0.5186 GB, free: 118.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.113/4.118, allocations: 12.03 MB / 0.5304 GB, free: 106.5 MB / 426.7 MB