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.377/2.377, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006019/0.000602, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3432, allocations: 54.87 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.589/1.932, allocations: 492.8 MB / 0.842 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.933, allocations: 77.95 kB / 0.8421 GB, free: 139.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.215/2.148, allocations: 57.35 MB / 0.8981 GB, free: 126.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/2.148, allocations: 0 / 0.8981 GB, free: 126.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/2.148, allocations: 3.844 kB / 0.8981 GB, free: 126.3 MB / 490.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.001973/2.15, allocations: 0.7026 MB / 0.8988 GB, free: 125.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/2.15, allocations: 9.594 kB / 0.8988 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.647e-05/2.15, allocations: 55.39 kB / 0.8988 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/2.162, allocations: 0.5965 MB / 0.8994 GB, free: 125.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/2.163, allocations: 251.6 kB / 0.8996 GB, free: 125.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/2.163, allocations: 134 kB / 0.8998 GB, free: 125.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/2.163, allocations: 18.97 kB / 0.8998 GB, free: 125.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/2.165, allocations: 0.563 MB / 0.9003 GB, free: 124.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/2.165, allocations: 0 / 0.9003 GB, free: 124.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/2.165, allocations: 11.81 kB / 0.9003 GB, free: 124.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/2.165, allocations: 11.77 kB / 0.9004 GB, free: 124.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/2.167, allocations: 0.6047 MB / 0.9009 GB, free: 124.6 MB / 490.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.002604/2.17, allocations: 1.625 MB / 0.9025 GB, free: 123 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/2.17, allocations: 151.5 kB / 0.9027 GB, free: 122.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/2.172, allocations: 1.201 MB / 0.9038 GB, free: 121.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/2.172, allocations: 38.25 kB / 0.9039 GB, free: 121.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 4.178e-06/2.172, allocations: 4 kB / 0.9039 GB, free: 121.4 MB / 490.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.001413/2.173, allocations: 347.7 kB / 0.9042 GB, free: 121.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/2.173, allocations: 51.41 kB / 0.9043 GB, free: 121.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/2.174, allocations: 163.2 kB / 0.9044 GB, free: 120.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/2.174, allocations: 33.7 kB / 0.9045 GB, free: 120.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/2.174, allocations: 256.6 kB / 0.9047 GB, free: 120.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/2.174, allocations: 69.89 kB / 0.9048 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/2.174, allocations: 4.875 kB / 0.9048 GB, free: 120.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.615e-05/2.174, allocations: 329.9 kB / 0.9051 GB, free: 120.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/2.174, allocations: 64.64 kB / 0.9051 GB, free: 120.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/2.174, allocations: 257.2 kB / 0.9054 GB, free: 119.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/2.175, allocations: 105.1 kB / 0.9055 GB, free: 119.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/2.175, allocations: 0 / 0.9055 GB, free: 119.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008627/2.176, allocations: 364 kB / 0.9058 GB, free: 119.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/2.176, allocations: 11.95 kB / 0.9059 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/2.176, allocations: 8 kB / 0.9059 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/2.176, allocations: 20.02 kB / 0.9059 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/2.176, allocations: 120 kB / 0.906 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003247/2.177, allocations: 0.6026 MB / 0.9066 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/2.177, allocations: 40.16 kB / 0.9066 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/2.177, allocations: 42.98 kB / 0.9067 GB, free: 118.7 MB / 490.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.0001891/2.177, allocations: 155.8 kB / 0.9068 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/2.177, allocations: 19.81 kB / 0.9068 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/2.179, allocations: 320.7 kB / 0.9071 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/2.179, allocations: 4 kB / 0.9071 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/2.179, allocations: 0 / 0.9071 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/2.179, allocations: 0 / 0.9071 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/2.18, allocations: 0.5447 MB / 0.9077 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/2.18, allocations: 0 / 0.9077 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/2.18, allocations: 59.95 kB / 0.9077 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/2.18, allocations: 4 kB / 0.9077 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/2.18, allocations: 11.61 kB / 0.9077 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002721/2.18, allocations: 0.5971 MB / 0.9083 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.18, allocations: 4.031 kB / 0.9083 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/2.181, allocations: 348.9 kB / 0.9087 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/2.181, allocations: 112.2 kB / 0.9088 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/2.181, allocations: 10.88 kB / 0.9088 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/2.182, allocations: 23.92 kB / 0.9088 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/2.182, allocations: 15.94 kB / 0.9088 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/2.182, allocations: 27.92 kB / 0.9088 GB, free: 116.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001266/2.182, allocations: 126.6 kB / 0.909 GB, free: 116.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.182, allocations: 4 kB / 0.909 GB, free: 116.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001248/2.183, allocations: 262.2 kB / 0.9092 GB, free: 116.1 MB / 490.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 (16): * Single equations (assignments): 15 * 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.002415/2.185, allocations: 1.87 MB / 0.911 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007809/2.186, allocations: 219.4 kB / 0.9113 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/2.186, allocations: 0 / 0.9113 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/2.187, allocations: 75.14 kB / 0.9113 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/2.187, allocations: 59.78 kB / 0.9114 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1111/2.298, allocations: 36.08 MB / 0.9466 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/2.299, allocations: 0.7248 MB / 0.9473 GB, free: 77.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/2.299, allocations: 91.38 kB / 0.9474 GB, free: 77.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/2.299, allocations: 4 kB / 0.9474 GB, free: 77.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/5.074, allocations: 9.17 MB / 0.9564 GB, free: 68.42 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat