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.MixtureGases.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.MixtureGases,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 12 kB / 233.3 MB, free: 0.8398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.08348, allocations: 38.77 MB / 272.1 MB, free: 9.992 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.317/2.4, allocations: 0.7217 GB / 0.9874 GB, free: 105 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/2.401, allocations: 70.23 kB / 0.9875 GB, free: 105 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.3436/2.744, allocations: 107.1 MB / 1.092 GB, free: 18.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/2.744, allocations: 0 / 1.092 GB, free: 18.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/2.744, allocations: 8 kB / 1.092 GB, free: 18.5 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003457/2.748, allocations: 0.7758 MB / 1.093 GB, free: 17.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/2.748, allocations: 8.031 kB / 1.093 GB, free: 17.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/2.748, allocations: 70.53 kB / 1.093 GB, free: 17.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/2.751, allocations: 259.8 kB / 1.093 GB, free: 17.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/2.751, allocations: 290.6 kB / 1.093 GB, free: 17.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/2.752, allocations: 20.56 kB / 1.093 GB, free: 16.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/2.752, allocations: 24 kB / 1.093 GB, free: 16.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/2.754, allocations: 0.6601 MB / 1.094 GB, free: 16.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/2.754, allocations: 7.906 kB / 1.094 GB, free: 16.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/2.754, allocations: 16 kB / 1.094 GB, free: 16.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/2.754, allocations: 12.44 kB / 1.094 GB, free: 16.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/2.757, allocations: 0.7478 MB / 1.095 GB, free: 15.52 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.005494/2.762, allocations: 1.799 MB / 1.097 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/2.765, allocations: 472.7 kB / 1.097 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/2.767, allocations: 0.9158 MB / 1.098 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/2.767, allocations: 47.38 kB / 1.098 GB, free: 12.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.025e-06/2.767, allocations: 0 / 1.098 GB, free: 12.02 MB / 362.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02293/2.79, allocations: 3.556 MB / 1.101 GB, free: 8.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/2.79, allocations: 81.11 kB / 1.102 GB, free: 8.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/2.79, allocations: 167 kB / 1.102 GB, free: 7.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/2.79, allocations: 33.7 kB / 1.102 GB, free: 7.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/2.79, allocations: 250.5 kB / 1.102 GB, free: 7.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/2.791, allocations: 169.5 kB / 1.102 GB, free: 7.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/2.791, allocations: 15.94 kB / 1.102 GB, free: 7.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/2.791, allocations: 334.8 kB / 1.102 GB, free: 7.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/2.792, allocations: 265.1 kB / 1.103 GB, free: 6.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/2.793, allocations: 414.1 kB / 1.103 GB, free: 6.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/2.795, allocations: 307.9 kB / 1.103 GB, free: 6.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/2.795, allocations: 8 kB / 1.103 GB, free: 6.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003231/2.798, allocations: 0.7735 MB / 1.104 GB, free: 5.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/2.798, allocations: 13.19 kB / 1.104 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/2.798, allocations: 7.984 kB / 1.104 GB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/2.798, allocations: 53.69 kB / 1.104 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/2.8, allocations: 175.7 kB / 1.104 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006377/2.801, allocations: 1.077 MB / 1.105 GB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/2.802, allocations: 56.08 kB / 1.106 GB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/2.802, allocations: 35.98 kB / 1.106 GB, free: 3.898 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003333/2.803, allocations: 173.6 kB / 1.106 GB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/2.803, allocations: 23.72 kB / 1.106 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/2.807, allocations: 0.7885 MB / 1.107 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/2.807, allocations: 4 kB / 1.107 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/2.807, allocations: 4 kB / 1.107 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/2.807, allocations: 7.984 kB / 1.107 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/2.812, allocations: 1.569 MB / 1.108 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/2.812, allocations: 0 / 1.108 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/2.813, allocations: 143.8 kB / 1.108 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/2.814, allocations: 45.91 kB / 1.108 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/2.814, allocations: 23.97 kB / 1.108 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2394/3.053, allocations: 2.537 MB / 1.111 GB, free: 89.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/3.053, allocations: 4.719 kB / 1.111 GB, free: 89.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/3.058, allocations: 1.158 MB / 1.112 GB, free: 88.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/3.058, allocations: 100.1 kB / 1.112 GB, free: 88.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/3.058, allocations: 16.39 kB / 1.112 GB, free: 88.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/3.059, allocations: 46.89 kB / 1.112 GB, free: 88.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/3.06, allocations: 45.95 kB / 1.112 GB, free: 88.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/3.06, allocations: 34 kB / 1.112 GB, free: 88.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001311/3.06, allocations: 123.6 kB / 1.112 GB, free: 88.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/3.06, allocations: 0 / 1.112 GB, free: 88.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002154/3.062, allocations: 420.2 kB / 1.113 GB, free: 88.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009448/3.071, allocations: 3.295 MB / 1.116 GB, free: 87.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003427/3.075, allocations: 0.6597 MB / 1.117 GB, free: 87.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/3.075, allocations: 5.344 kB / 1.117 GB, free: 87.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/3.077, allocations: 0.5322 MB / 1.117 GB, free: 86.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/3.078, allocations: 87.55 kB / 1.117 GB, free: 86.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/3.088, allocations: 5.871 MB / 1.123 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/3.088, allocations: 0.7937 MB / 1.124 GB, free: 82.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008528/3.089, allocations: 140 kB / 1.124 GB, free: 82.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/3.089, allocations: 0 / 1.124 GB, free: 82.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.271/6.36, allocations: 18.95 MB / 1.142 GB, free: 81.17 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat