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.431/2.431, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.321e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4558, allocations: 54.85 MB / 364.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.749, allocations: 492.8 MB / 0.8373 GB, free: 62.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.75, allocations: 72.98 kB / 0.8373 GB, free: 62.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2147/1.964, allocations: 57.25 MB / 0.8933 GB, free: 12.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.964, allocations: 4 kB / 0.8933 GB, free: 12.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/1.964, allocations: 3.938 kB / 0.8933 GB, free: 12.45 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.00184/1.966, allocations: 0.6897 MB / 0.8939 GB, free: 11.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.966, allocations: 8.031 kB / 0.8939 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/1.966, allocations: 62.53 kB / 0.894 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/1.978, allocations: 0.5897 MB / 0.8946 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/1.979, allocations: 258.6 kB / 0.8948 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/1.979, allocations: 127.4 kB / 0.8949 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.979, allocations: 27.98 kB / 0.895 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.98, allocations: 0.5205 MB / 0.8955 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.98, allocations: 0 / 0.8955 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.98, allocations: 12 kB / 0.8955 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.98, allocations: 8 kB / 0.8955 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.982, allocations: 0.5637 MB / 0.8961 GB, free: 9.438 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002485/1.985, allocations: 1.631 MB / 0.8976 GB, free: 7.676 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/1.985, allocations: 146.9 kB / 0.8978 GB, free: 7.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.985, allocations: 80.84 kB / 0.8979 GB, free: 7.441 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/1.986, allocations: 1.203 MB / 0.899 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/1.986, allocations: 38.67 kB / 0.8991 GB, free: 5.984 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.186e-06/1.986, allocations: 0 / 0.8991 GB, free: 5.984 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.001097/1.988, allocations: 280.5 kB / 0.8993 GB, free: 5.707 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.988, allocations: 55.41 kB / 0.8994 GB, free: 5.641 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/1.988, allocations: 165.3 kB / 0.8996 GB, free: 5.469 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/1.988, allocations: 41.64 kB / 0.8996 GB, free: 5.422 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/1.988, allocations: 253.8 kB / 0.8998 GB, free: 5.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/1.988, allocations: 74.94 kB / 0.8999 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/1.988, allocations: 4 kB / 0.8999 GB, free: 5.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/1.988, allocations: 326.8 kB / 0.9002 GB, free: 4.762 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/1.988, allocations: 56.75 kB / 0.9003 GB, free: 4.703 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/1.989, allocations: 263.3 kB / 0.9005 GB, free: 4.355 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/1.989, allocations: 97.52 kB / 0.9006 GB, free: 4.262 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.989, allocations: 0 / 0.9006 GB, free: 4.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000746/1.99, allocations: 361.3 kB / 0.901 GB, free: 3.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.99, allocations: 11.95 kB / 0.901 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.99, allocations: 4 kB / 0.901 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/1.99, allocations: 12 kB / 0.901 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/1.99, allocations: 119.8 kB / 0.9011 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003063/1.991, allocations: 0.6098 MB / 0.9017 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/1.991, allocations: 39.59 kB / 0.9017 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.991, allocations: 39.98 kB / 0.9018 GB, free: 3.047 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 () * 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.0001241/1.991, allocations: 136.8 kB / 0.9019 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/1.991, allocations: 19.81 kB / 0.9019 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.992, allocations: 323.4 kB / 0.9022 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.992, allocations: 4 kB / 0.9022 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.992, allocations: 0 / 0.9022 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.992, allocations: 0 / 0.9022 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/1.993, allocations: 0.5357 MB / 0.9028 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.993, allocations: 4.156 kB / 0.9028 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/1.994, allocations: 59.95 kB / 0.9028 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/1.994, allocations: 4 kB / 0.9028 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.994, allocations: 8 kB / 0.9028 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002703/1.994, allocations: 0.5976 MB / 0.9034 GB, free: 1.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.994, allocations: 4.031 kB / 0.9034 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/1.995, allocations: 346 kB / 0.9038 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.995, allocations: 116.8 kB / 0.9039 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/1.995, allocations: 4 kB / 0.9039 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/1.995, allocations: 11.98 kB / 0.9039 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/1.995, allocations: 23.92 kB / 0.9039 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/1.995, allocations: 23.98 kB / 0.9039 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000122/1.995, allocations: 135 kB / 0.9041 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.995, allocations: 4 kB / 0.9041 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001222/1.997, allocations: 263.7 kB / 0.9043 GB, free: 264 kB / 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 () * 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.3201/2.317, allocations: 1.846 MB / 0.9061 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008386/2.318, allocations: 213.5 kB / 0.9063 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/2.318, allocations: 1.375 kB / 0.9063 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/2.318, allocations: 77.55 kB / 0.9064 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/2.319, allocations: 56.42 kB / 0.9064 GB, free: 152.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1344/2.453, allocations: 30.53 MB / 0.9363 GB, free: 151.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/2.453, allocations: 0.7275 MB / 0.937 GB, free: 150.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/2.454, allocations: 91.34 kB / 0.9371 GB, free: 150.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/2.454, allocations: 4 kB / 0.9371 GB, free: 150.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.892/5.346, allocations: 9.172 MB / 0.946 GB, free: 149.5 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