Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.185e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2803, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.205/2.486, allocations: 0.7128 GB / 0.9705 GB, free: 74.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/2.486, allocations: 68.16 kB / 0.9706 GB, free: 73.99 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.1575/2.644, allocations: 40.22 MB / 1.01 GB, free: 39.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/2.644, allocations: 4 kB / 1.01 GB, free: 39.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/2.644, allocations: 4 kB / 1.01 GB, free: 39.53 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.001167/2.645, allocations: 0.5034 MB / 1.01 GB, free: 38.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/2.645, allocations: 8.031 kB / 1.01 GB, free: 38.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.187e-05/2.645, allocations: 54.98 kB / 1.01 GB, free: 38.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/2.65, allocations: 369.1 kB / 1.011 GB, free: 38.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/2.651, allocations: 250.9 kB / 1.011 GB, free: 38.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/2.651, allocations: 17.05 kB / 1.011 GB, free: 38.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/2.651, allocations: 19.56 kB / 1.011 GB, free: 38.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/2.652, allocations: 453.2 kB / 1.011 GB, free: 38.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/2.652, allocations: 3.953 kB / 1.011 GB, free: 38.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/2.653, allocations: 11.06 kB / 1.011 GB, free: 38.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/2.653, allocations: 4 kB / 1.012 GB, free: 38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/2.654, allocations: 487.9 kB / 1.012 GB, free: 37.69 MB / 362.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.003577/2.657, allocations: 0.9976 MB / 1.013 GB, free: 36.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/2.658, allocations: 269.7 kB / 1.013 GB, free: 36.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/2.659, allocations: 144.1 kB / 1.013 GB, free: 36.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/2.66, allocations: 0.6546 MB / 1.014 GB, free: 35.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/2.66, allocations: 34.94 kB / 1.014 GB, free: 35.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.216e-06/2.66, allocations: 0 / 1.014 GB, free: 35.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009757/2.661, allocations: 272.4 kB / 1.014 GB, free: 35.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/2.662, allocations: 92.98 kB / 1.014 GB, free: 35.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/2.662, allocations: 106 kB / 1.014 GB, free: 35.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/2.662, allocations: 29.7 kB / 1.014 GB, free: 35.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/2.662, allocations: 108.6 kB / 1.015 GB, free: 35.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/2.662, allocations: 110.4 kB / 1.015 GB, free: 35.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/2.662, allocations: 11.94 kB / 1.015 GB, free: 35.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/2.662, allocations: 326.9 kB / 1.015 GB, free: 34.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/2.662, allocations: 108.6 kB / 1.015 GB, free: 34.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/2.663, allocations: 191.3 kB / 1.015 GB, free: 34.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/2.663, allocations: 127 kB / 1.015 GB, free: 34.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/2.663, allocations: 4 kB / 1.015 GB, free: 34.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009091/2.664, allocations: 361.4 kB / 1.016 GB, free: 33.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/2.664, allocations: 4 kB / 1.016 GB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/2.664, allocations: 4 kB / 1.016 GB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/2.664, allocations: 4 kB / 1.016 GB, free: 33.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/2.665, allocations: 71.89 kB / 1.016 GB, free: 33.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/2.665, allocations: 7.938 kB / 1.016 GB, free: 33.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/2.665, allocations: 35.73 kB / 1.016 GB, free: 33.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/2.665, allocations: 24.14 kB / 1.016 GB, free: 33.77 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 () * 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.0001656/2.666, allocations: 128.8 kB / 1.016 GB, free: 33.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/2.666, allocations: 11.91 kB / 1.016 GB, free: 33.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/2.667, allocations: 342.2 kB / 1.016 GB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/2.667, allocations: 4 kB / 1.016 GB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/2.667, allocations: 7.938 kB / 1.016 GB, free: 33.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/2.667, allocations: 3.984 kB / 1.016 GB, free: 33.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/2.668, allocations: 360.6 kB / 1.017 GB, free: 32.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/2.668, allocations: 7.984 kB / 1.017 GB, free: 32.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/2.669, allocations: 63.84 kB / 1.017 GB, free: 32.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/2.669, allocations: 0 / 1.017 GB, free: 32.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/2.669, allocations: 11.98 kB / 1.017 GB, free: 32.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/2.669, allocations: 4 kB / 1.017 GB, free: 32.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.669, allocations: 0 / 1.017 GB, free: 32.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/2.67, allocations: 0.5396 MB / 1.017 GB, free: 32.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/2.67, allocations: 88.95 kB / 1.017 GB, free: 32.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/2.67, allocations: 12.05 kB / 1.017 GB, free: 32.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/2.671, allocations: 15.91 kB / 1.017 GB, free: 32.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/2.671, allocations: 19.91 kB / 1.017 GB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/2.671, allocations: 19.98 kB / 1.017 GB, free: 32.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.67e-05/2.671, allocations: 103.5 kB / 1.018 GB, free: 31.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.671, allocations: 0 / 1.018 GB, free: 31.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001459/2.672, allocations: 259.7 kB / 1.018 GB, free: 31.69 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 () * 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.003429/2.676, allocations: 1.807 MB / 1.02 GB, free: 29.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008404/2.677, allocations: 267.8 kB / 1.02 GB, free: 29.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/2.677, allocations: 0 / 1.02 GB, free: 29.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/2.677, allocations: 140.5 kB / 1.02 GB, free: 29.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009986/2.678, allocations: 75.86 kB / 1.02 GB, free: 29.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/2.681, allocations: 0.7473 MB / 1.021 GB, free: 28.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/2.681, allocations: 0.7443 MB / 1.022 GB, free: 27.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008918/2.682, allocations: 81.91 kB / 1.022 GB, free: 27.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/2.682, allocations: 59.41 kB / 1.022 GB, free: 27.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/2.682, allocations: 0 / 1.022 GB, free: 27.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/2.741, allocations: 19.5 MB / 1.041 GB, free: 8.227 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/2.742, allocations: 152 kB / 1.041 GB, free: 8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/6.173, allocations: 0 / 1.041 GB, free: 8 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat