Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.637/1.637, allocations: 171.1 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 12 kB / 233.3 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08649, allocations: 38.78 MB / 272.1 MB, free: 9.977 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.359/2.446, allocations: 0.7129 GB / 0.9787 GB, free: 106.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/2.446, allocations: 73.64 kB / 0.9787 GB, free: 106.1 MB / 362.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.1416/2.588, allocations: 40.35 MB / 1.018 GB, free: 95.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.588, allocations: 0 / 1.018 GB, free: 95.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/2.588, allocations: 0 / 1.018 GB, free: 95.69 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001089/2.589, allocations: 0.5153 MB / 1.019 GB, free: 95.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/2.589, allocations: 8.031 kB / 1.019 GB, free: 95.11 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.066e-05/2.589, allocations: 50.55 kB / 1.019 GB, free: 95.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/2.594, allocations: 371.8 kB / 1.019 GB, free: 94.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/2.595, allocations: 262.7 kB / 1.019 GB, free: 94.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/2.595, allocations: 16.38 kB / 1.019 GB, free: 94.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/2.595, allocations: 19.91 kB / 1.019 GB, free: 94.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/2.596, allocations: 489.3 kB / 1.02 GB, free: 93.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/2.596, allocations: 0 / 1.02 GB, free: 93.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/2.596, allocations: 8 kB / 1.02 GB, free: 93.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/2.596, allocations: 11.94 kB / 1.02 GB, free: 93.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/2.598, allocations: 0.5035 MB / 1.02 GB, free: 93.35 MB / 362.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.003141/2.601, allocations: 0.9889 MB / 1.021 GB, free: 92.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/2.602, allocations: 285 kB / 1.022 GB, free: 92.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/2.604, allocations: 0.6556 MB / 1.022 GB, free: 91.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/2.604, allocations: 42.5 kB / 1.022 GB, free: 91.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.986e-06/2.604, allocations: 0 / 1.022 GB, free: 91.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001501/2.605, allocations: 398 kB / 1.023 GB, free: 90.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/2.606, allocations: 81.11 kB / 1.023 GB, free: 90.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/2.606, allocations: 108.9 kB / 1.023 GB, free: 90.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/2.606, allocations: 33.7 kB / 1.023 GB, free: 90.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/2.606, allocations: 178.9 kB / 1.023 GB, free: 90.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/2.606, allocations: 110.4 kB / 1.023 GB, free: 90.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/2.606, allocations: 4 kB / 1.023 GB, free: 90.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/2.606, allocations: 326.8 kB / 1.023 GB, free: 89.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/2.606, allocations: 112.6 kB / 1.024 GB, free: 89.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/2.607, allocations: 199.5 kB / 1.024 GB, free: 89.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/2.607, allocations: 137.2 kB / 1.024 GB, free: 89.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/2.607, allocations: 4 kB / 1.024 GB, free: 89.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001094/2.608, allocations: 369.2 kB / 1.024 GB, free: 89.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/2.608, allocations: 8.25 kB / 1.024 GB, free: 89.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/2.608, allocations: 8 kB / 1.024 GB, free: 89.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/2.608, allocations: 4 kB / 1.024 GB, free: 89.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/2.609, allocations: 79.83 kB / 1.024 GB, free: 88.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/2.609, allocations: 7.938 kB / 1.024 GB, free: 88.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/2.61, allocations: 31.73 kB / 1.024 GB, free: 88.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/2.61, allocations: 20 kB / 1.024 GB, free: 88.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002224/2.61, allocations: 153.7 kB / 1.024 GB, free: 88.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/2.61, allocations: 11.91 kB / 1.024 GB, free: 88.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/2.611, allocations: 376.2 kB / 1.025 GB, free: 88.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/2.611, allocations: 7.984 kB / 1.025 GB, free: 88.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/2.611, allocations: 0 / 1.025 GB, free: 88.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/2.611, allocations: 0 / 1.025 GB, free: 88.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/2.612, allocations: 368.7 kB / 1.025 GB, free: 87.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/2.612, allocations: 4 kB / 1.025 GB, free: 87.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/2.613, allocations: 59.91 kB / 1.025 GB, free: 87.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/2.613, allocations: 0 / 1.025 GB, free: 87.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/2.613, allocations: 11.98 kB / 1.025 GB, free: 87.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/2.613, allocations: 4 kB / 1.025 GB, free: 87.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.613, allocations: 0 / 1.025 GB, free: 87.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/2.614, allocations: 0.5669 MB / 1.026 GB, free: 87.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/2.614, allocations: 96.86 kB / 1.026 GB, free: 87.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/2.615, allocations: 8.047 kB / 1.026 GB, free: 87.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/2.615, allocations: 12 kB / 1.026 GB, free: 87.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/2.615, allocations: 19.97 kB / 1.026 GB, free: 87.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/2.615, allocations: 23.92 kB / 1.026 GB, free: 87.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.091e-05/2.615, allocations: 91.56 kB / 1.026 GB, free: 87.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.615, allocations: 0 / 1.026 GB, free: 87.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001324/2.617, allocations: 259.7 kB / 1.026 GB, free: 86.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003424/2.62, allocations: 1.821 MB / 1.028 GB, free: 84.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009421/2.621, allocations: 296.5 kB / 1.028 GB, free: 84.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/2.621, allocations: 0 / 1.028 GB, free: 84.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/2.622, allocations: 152.4 kB / 1.029 GB, free: 84.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/2.622, allocations: 82.73 kB / 1.029 GB, free: 84.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/2.626, allocations: 3.36 MB / 1.032 GB, free: 80.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/2.627, allocations: 0.7365 MB / 1.033 GB, free: 80.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/2.627, allocations: 71.41 kB / 1.033 GB, free: 80.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.234e-06/2.627, allocations: 96 / 1.033 GB, free: 80.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.872/5.499, allocations: 9.947 MB / 1.042 GB, free: 70.14 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat