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.CO2.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.CO2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 234.9 MB / 250.4 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005969/0.000597, allocations: 12 kB / 314.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4132, allocations: 54.85 MB / 369.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2149/0.6282, allocations: 126.1 MB / 495.4 MB, free: 14.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.6388, allocations: 5.49 MB / 0.4892 GB, free: 8.695 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.6391, allocations: 0 / 0.4892 GB, free: 8.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.6395, allocations: 47.7 kB / 0.4892 GB, free: 8.648 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.6451, allocations: 1.277 MB / 0.4905 GB, free: 7.367 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.6457, allocations: 131.7 kB / 0.4906 GB, free: 7.238 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.6464, allocations: 273.2 kB / 0.4908 GB, free: 6.973 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.251e-05/0.6465, allocations: 13.67 kB / 0.4909 GB, free: 6.961 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.647, allocations: 167.5 kB / 0.491 GB, free: 6.797 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.6474, allocations: 155.6 kB / 0.4912 GB, free: 6.645 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.6475, allocations: 4 kB / 0.4912 GB, free: 6.641 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004653/0.6522, allocations: 1.217 MB / 0.4924 GB, free: 5.422 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.6524, allocations: 43.88 kB / 0.4924 GB, free: 5.379 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.6525, allocations: 61.58 kB / 0.4925 GB, free: 5.312 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.6547, allocations: 0.6404 MB / 0.4931 GB, free: 4.672 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6548, allocations: 4 kB / 0.4931 GB, free: 4.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6548, allocations: 0 / 0.4931 GB, free: 4.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.6548, allocations: 0 / 0.4931 GB, free: 4.668 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.001955/0.6568, allocations: 0.663 MB / 0.4937 GB, free: 3.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.6568, allocations: 8.031 kB / 0.4937 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.657, allocations: 62.55 kB / 0.4938 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.6707, allocations: 0.5926 MB / 0.4944 GB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.6714, allocations: 258.7 kB / 0.4946 GB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.6716, allocations: 127.3 kB / 0.4947 GB, free: 2.844 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.6718, allocations: 24 kB / 0.4948 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.6739, allocations: 0.5634 MB / 0.4953 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.674, allocations: 0 / 0.4953 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.6741, allocations: 15.94 kB / 0.4953 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.6742, allocations: 4 kB / 0.4953 GB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.6768, allocations: 0.6299 MB / 0.4959 GB, free: 1.57 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.3024/0.9792, allocations: 1.615 MB / 0.4975 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.9799, allocations: 157.4 kB / 0.4977 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/0.9815, allocations: 1.202 MB / 0.4989 GB, free: 135.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.9816, allocations: 39.12 kB / 0.4989 GB, free: 135.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.344e-06/0.9816, allocations: 0.5312 kB / 0.4989 GB, free: 135.1 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=20): time 0.001732/0.9833, allocations: 343 kB / 0.4992 GB, free: 135.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.9834, allocations: 54 kB / 0.4993 GB, free: 135 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.9837, allocations: 179.1 kB / 0.4994 GB, free: 134.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.9837, allocations: 30.8 kB / 0.4995 GB, free: 134.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.9838, allocations: 249.9 kB / 0.4997 GB, free: 134.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.9839, allocations: 75.12 kB / 0.4998 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.984, allocations: 8.938 kB / 0.4998 GB, free: 134.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.9841, allocations: 326.9 kB / 0.5001 GB, free: 134.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.9843, allocations: 62.77 kB / 0.5002 GB, free: 134.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.9847, allocations: 260.5 kB / 0.5004 GB, free: 134.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.9851, allocations: 108.5 kB / 0.5005 GB, free: 134.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.9851, allocations: 1.938 kB / 0.5005 GB, free: 134.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001048/0.9862, allocations: 359 kB / 0.5009 GB, free: 134 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.9862, allocations: 9.156 kB / 0.5009 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.9862, allocations: 10.95 kB / 0.5009 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/0.9863, allocations: 11.16 kB / 0.5009 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.9871, allocations: 122.6 kB / 0.501 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/0.9875, allocations: 0.6078 MB / 0.5016 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.9879, allocations: 39.36 kB / 0.5016 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.988, allocations: 43.56 kB / 0.5017 GB, free: 133.3 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.0001841/0.9882, allocations: 149.3 kB / 0.5018 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.9883, allocations: 16.64 kB / 0.5018 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.9895, allocations: 335.2 kB / 0.5022 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.9896, allocations: 2.906 kB / 0.5022 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9896, allocations: 0 / 0.5022 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.9896, allocations: 2.406 kB / 0.5022 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.9906, allocations: 0.5245 MB / 0.5027 GB, free: 132.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9906, allocations: 1.406 kB / 0.5027 GB, free: 132.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.991, allocations: 62.83 kB / 0.5027 GB, free: 132.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.991, allocations: 4.344 kB / 0.5027 GB, free: 132.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.9911, allocations: 4.156 kB / 0.5027 GB, free: 132.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002765/0.9914, allocations: 0.5968 MB / 0.5033 GB, free: 132 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.9914, allocations: 6.672 kB / 0.5033 GB, free: 132 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.9918, allocations: 279 kB / 0.5036 GB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.992, allocations: 113.3 kB / 0.5037 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.9921, allocations: 9.172 kB / 0.5037 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.9925, allocations: 16.3 kB / 0.5037 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.9926, allocations: 20.09 kB / 0.5037 GB, free: 131.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.9926, allocations: 13.72 kB / 0.5038 GB, free: 131.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.9928, allocations: 135.9 kB / 0.5039 GB, free: 131.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9928, allocations: 0 / 0.5039 GB, free: 131.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009612/0.9938, allocations: 210.5 kB / 0.5041 GB, free: 131.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001799/0.9956, allocations: 1.054 MB / 0.5051 GB, free: 130.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008072/0.9964, allocations: 228.9 kB / 0.5053 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9964, allocations: 0 / 0.5053 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.9967, allocations: 78.05 kB / 0.5054 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.9973, allocations: 52.62 kB / 0.5055 GB, free: 130.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/1, allocations: 1.394 MB / 0.5068 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/1, allocations: 0.7323 MB / 0.5075 GB, free: 129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/1.001, allocations: 81.19 kB / 0.5076 GB, free: 128.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/1.001, allocations: 3.969 kB / 0.5076 GB, free: 128.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.776/3.777, allocations: 6.645 MB / 0.5141 GB, free: 122.6 MB / 426.7 MB