Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.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) 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.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004481, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3683, allocations: 48.69 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.136/2.505, allocations: 0.721 GB / 1.045 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/2.505, allocations: 70.72 kB / 1.045 GB, free: 97.6 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/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.1489/2.654, allocations: 40.06 MB / 1.084 GB, free: 63.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/2.654, allocations: 3.938 kB / 1.084 GB, free: 63.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/2.654, allocations: 4 kB / 1.084 GB, free: 63.32 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0011/2.655, allocations: 0.5173 MB / 1.084 GB, free: 62.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/2.655, allocations: 12.03 kB / 1.084 GB, free: 62.76 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.302e-05/2.655, allocations: 53.86 kB / 1.084 GB, free: 62.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/2.66, allocations: 361.8 kB / 1.085 GB, free: 62.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/2.661, allocations: 252.7 kB / 1.085 GB, free: 62.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/2.661, allocations: 12.19 kB / 1.085 GB, free: 62.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/2.661, allocations: 31.48 kB / 1.085 GB, free: 62.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/2.663, allocations: 483.1 kB / 1.085 GB, free: 61.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/2.663, allocations: 3.938 kB / 1.085 GB, free: 61.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/2.663, allocations: 7.438 kB / 1.085 GB, free: 61.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/2.663, allocations: 4 kB / 1.085 GB, free: 61.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/2.664, allocations: 0.5013 MB / 1.086 GB, free: 61.42 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.003086/2.667, allocations: 0.995 MB / 1.087 GB, free: 60.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/2.668, allocations: 282.4 kB / 1.087 GB, free: 60.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/2.67, allocations: 0.6521 MB / 1.088 GB, free: 59.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/2.67, allocations: 41.88 kB / 1.088 GB, free: 59.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.366e-06/2.67, allocations: 0 / 1.088 GB, free: 59.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.001459/2.672, allocations: 399 kB / 1.088 GB, free: 59.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/2.672, allocations: 85.06 kB / 1.088 GB, free: 59.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/2.672, allocations: 106.2 kB / 1.088 GB, free: 59.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/2.672, allocations: 30.58 kB / 1.088 GB, free: 59.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/2.672, allocations: 174.1 kB / 1.089 GB, free: 58.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/2.672, allocations: 121.3 kB / 1.089 GB, free: 58.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/2.672, allocations: 9.812 kB / 1.089 GB, free: 58.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/2.672, allocations: 323.5 kB / 1.089 GB, free: 58.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/2.672, allocations: 110.8 kB / 1.089 GB, free: 58.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/2.673, allocations: 199.4 kB / 1.089 GB, free: 58.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/2.673, allocations: 134.4 kB / 1.09 GB, free: 58.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.673, allocations: 4 kB / 1.09 GB, free: 58.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001099/2.674, allocations: 373.1 kB / 1.09 GB, free: 57.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/2.675, allocations: 11.94 kB / 1.09 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/2.675, allocations: 0 / 1.09 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/2.675, allocations: 11.98 kB / 1.09 GB, free: 57.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/2.675, allocations: 75.02 kB / 1.09 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/2.675, allocations: 4.312 kB / 1.09 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/2.676, allocations: 41.5 kB / 1.09 GB, free: 57.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/2.676, allocations: 15.98 kB / 1.09 GB, free: 57.68 MB / 442.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.0002023/2.676, allocations: 145.1 kB / 1.09 GB, free: 57.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/2.676, allocations: 15.81 kB / 1.09 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/2.677, allocations: 377.1 kB / 1.091 GB, free: 57.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/2.677, allocations: 0 / 1.091 GB, free: 57.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/2.677, allocations: 4 kB / 1.091 GB, free: 57.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/2.677, allocations: 0 / 1.091 GB, free: 57.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/2.678, allocations: 371.5 kB / 1.091 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.678, allocations: 4 kB / 1.091 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/2.679, allocations: 54.58 kB / 1.091 GB, free: 56.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/2.679, allocations: 4 kB / 1.091 GB, free: 56.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/2.679, allocations: 9.25 kB / 1.091 GB, free: 56.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/2.679, allocations: 7.938 kB / 1.091 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.679, allocations: 4.312 kB / 1.091 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/2.68, allocations: 0.5536 MB / 1.092 GB, free: 56.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/2.681, allocations: 96.84 kB / 1.092 GB, free: 56.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/2.681, allocations: 17.81 kB / 1.092 GB, free: 56.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/2.681, allocations: 18.61 kB / 1.092 GB, free: 56.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/2.681, allocations: 19.38 kB / 1.092 GB, free: 56.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/2.681, allocations: 23.34 kB / 1.092 GB, free: 56.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.33e-05/2.681, allocations: 90.52 kB / 1.092 GB, free: 56.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.681, allocations: 0 / 1.092 GB, free: 56.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001316/2.683, allocations: 268.1 kB / 1.092 GB, free: 55.87 MB / 442.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.003548/2.686, allocations: 1.8 MB / 1.094 GB, free: 54.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/2.687, allocations: 294.6 kB / 1.094 GB, free: 53.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/2.687, allocations: 0 / 1.094 GB, free: 53.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/2.688, allocations: 149.2 kB / 1.094 GB, free: 53.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/2.689, allocations: 88.25 kB / 1.094 GB, free: 53.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/2.693, allocations: 3.367 MB / 1.098 GB, free: 50.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/2.693, allocations: 0.7404 MB / 1.098 GB, free: 49.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/2.694, allocations: 67.41 kB / 1.098 GB, free: 49.43 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/2.694, allocations: 0 / 1.098 GB, free: 49.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/5.471, allocations: 9.838 MB / 1.108 GB, free: 39.59 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat