Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.984/1.984, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004635, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3684, allocations: 48.69 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.528/2.897, allocations: 0.8481 GB / 1.172 GB, free: 125.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/2.897, allocations: 77.72 kB / 1.172 GB, free: 125.6 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.4319/3.329, allocations: 110.3 MB / 1.279 GB, free: 35.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/3.329, allocations: 0 / 1.279 GB, free: 35.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/3.329, allocations: 4 kB / 1.279 GB, free: 35.95 MB / 442.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.003302/3.332, allocations: 0.9389 MB / 1.28 GB, free: 34.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/3.332, allocations: 12.02 kB / 1.28 GB, free: 34.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/3.332, allocations: 82.53 kB / 1.28 GB, free: 34.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/3.349, allocations: 1.264 MB / 1.282 GB, free: 33.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/3.35, allocations: 390.3 kB / 1.282 GB, free: 33.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/3.35, allocations: 131.8 kB / 1.282 GB, free: 33.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/3.35, allocations: 39.97 kB / 1.282 GB, free: 32.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/3.354, allocations: 1.411 MB / 1.284 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/3.354, allocations: 4 kB / 1.284 GB, free: 31.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/3.354, allocations: 19.98 kB / 1.284 GB, free: 31.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.7e-05/3.355, allocations: 52.97 kB / 1.284 GB, free: 31.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006129/3.361, allocations: 2.135 MB / 1.286 GB, free: 29.32 MB / 442.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.004074/3.365, allocations: 2.793 MB / 1.288 GB, free: 26.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/3.365, allocations: 106.8 kB / 1.289 GB, free: 26.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/3.367, allocations: 0.946 MB / 1.289 GB, free: 25.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/3.367, allocations: 38.56 kB / 1.29 GB, free: 25.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/3.367, allocations: 0 / 1.29 GB, free: 25.04 MB / 442.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.001872/3.369, allocations: 400.9 kB / 1.29 GB, free: 24.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/3.369, allocations: 51.41 kB / 1.29 GB, free: 24.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/3.369, allocations: 311.3 kB / 1.29 GB, free: 24.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/3.369, allocations: 29.7 kB / 1.29 GB, free: 24.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/3.369, allocations: 404 kB / 1.291 GB, free: 23.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/3.369, allocations: 75.08 kB / 1.291 GB, free: 23.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/3.369, allocations: 16 kB / 1.291 GB, free: 23.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/3.369, allocations: 342.8 kB / 1.291 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/3.37, allocations: 105.9 kB / 1.291 GB, free: 23.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/3.37, allocations: 0.5345 MB / 1.292 GB, free: 22.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/3.37, allocations: 211.7 kB / 1.292 GB, free: 22.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/3.371, allocations: 4 kB / 1.292 GB, free: 22.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001273/3.372, allocations: 0.6265 MB / 1.293 GB, free: 21.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/3.372, allocations: 16.25 kB / 1.293 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/3.372, allocations: 19.98 kB / 1.293 GB, free: 21.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/3.372, allocations: 20 kB / 1.293 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008162/3.373, allocations: 175.7 kB / 1.293 GB, free: 21.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003005/3.373, allocations: 0.6209 MB / 1.293 GB, free: 20.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/3.374, allocations: 91.22 kB / 1.293 GB, free: 20.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/3.374, allocations: 59.98 kB / 1.293 GB, free: 20.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (86): * Single equations (assignments): 85 * 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.0002517/3.374, allocations: 201.4 kB / 1.294 GB, free: 20.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/3.374, allocations: 27.72 kB / 1.294 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007219/3.375, allocations: 243.6 kB / 1.294 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/3.375, allocations: 11.94 kB / 1.294 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/3.375, allocations: 3.953 kB / 1.294 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/3.375, allocations: 3.938 kB / 1.294 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/3.376, allocations: 0.5658 MB / 1.295 GB, free: 19.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/3.376, allocations: 7.953 kB / 1.295 GB, free: 19.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/3.376, allocations: 35.97 kB / 1.295 GB, free: 19.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/3.376, allocations: 4 kB / 1.295 GB, free: 19.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/3.376, allocations: 8 kB / 1.295 GB, free: 19.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002266/3.376, allocations: 0.586 MB / 1.295 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/3.376, allocations: 0 / 1.295 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/3.377, allocations: 350.5 kB / 1.295 GB, free: 18.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/3.377, allocations: 120.7 kB / 1.296 GB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/3.377, allocations: 7.984 kB / 1.296 GB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/3.377, allocations: 12 kB / 1.296 GB, free: 18.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/3.377, allocations: 23.92 kB / 1.296 GB, free: 18.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/3.377, allocations: 19.98 kB / 1.296 GB, free: 18.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002561/3.378, allocations: 211 kB / 1.296 GB, free: 18.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/3.378, allocations: 0 / 1.296 GB, free: 18.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001951/3.38, allocations: 447.5 kB / 1.296 GB, free: 17.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.003734/3.383, allocations: 2.227 MB / 1.298 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009074/3.384, allocations: 322.4 kB / 1.299 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/3.384, allocations: 0 / 1.299 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/3.385, allocations: 51.86 kB / 1.299 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/3.385, allocations: 66.38 kB / 1.299 GB, free: 14.92 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4859/3.871, allocations: 66.62 MB / 1.364 GB, free: 99.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/3.872, allocations: 0.7992 MB / 1.365 GB, free: 99.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/3.872, allocations: 118.7 kB / 1.365 GB, free: 99.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/3.872, allocations: 0 / 1.365 GB, free: 99.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.332/7.203, allocations: 15.01 MB / 1.379 GB, free: 97.45 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat