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.947/1.947, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.968e-05, allocations: 0 / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.71/2.815, allocations: 0.8476 GB / 1.156 GB, free: 117.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/2.815, allocations: 74.02 kB / 1.157 GB, free: 117.9 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.3872/3.202, allocations: 108.6 MB / 1.263 GB, free: 25.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/3.202, allocations: 4 kB / 1.263 GB, free: 25.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/3.202, allocations: 8 kB / 1.263 GB, free: 25.96 MB / 426.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.003303/3.206, allocations: 0.9193 MB / 1.263 GB, free: 25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/3.206, allocations: 15.97 kB / 1.264 GB, free: 24.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/3.221, allocations: 1.26 MB / 1.265 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/3.222, allocations: 390.3 kB / 1.265 GB, free: 23.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/3.222, allocations: 119.6 kB / 1.265 GB, free: 23.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/3.223, allocations: 20 kB / 1.265 GB, free: 23.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003948/3.227, allocations: 1.696 MB / 1.267 GB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/3.228, allocations: 0.8844 MB / 1.268 GB, free: 20.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/3.228, allocations: 3.938 kB / 1.268 GB, free: 20.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/3.229, allocations: 0 / 1.268 GB, free: 20.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.024e-05/3.229, allocations: 48.75 kB / 1.268 GB, free: 20.48 MB / 426.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.005273/3.234, allocations: 3.316 MB / 1.271 GB, free: 16.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/3.234, allocations: 78.58 kB / 1.271 GB, free: 16.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/3.234, allocations: 24.86 kB / 1.271 GB, free: 16.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/3.234, allocations: 121.2 kB / 1.271 GB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/3.235, allocations: 38.45 kB / 1.271 GB, free: 16.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.796e-06/3.235, allocations: 0 / 1.271 GB, free: 16.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00657/3.241, allocations: 0.7769 MB / 1.272 GB, free: 15.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/3.241, allocations: 55.41 kB / 1.272 GB, free: 15.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/3.242, allocations: 333.8 kB / 1.272 GB, free: 15.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/3.242, allocations: 25.7 kB / 1.272 GB, free: 15.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/3.242, allocations: 435.5 kB / 1.273 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/3.242, allocations: 59.38 kB / 1.273 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/3.242, allocations: 0 / 1.273 GB, free: 14.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/3.242, allocations: 338.8 kB / 1.273 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/3.242, allocations: 97.53 kB / 1.273 GB, free: 14.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/3.243, allocations: 0.5476 MB / 1.274 GB, free: 13.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/3.243, allocations: 234.4 kB / 1.274 GB, free: 13.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/3.243, allocations: 4 kB / 1.274 GB, free: 13.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001555/3.245, allocations: 0.6033 MB / 1.275 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/3.245, allocations: 12.22 kB / 1.275 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/3.245, allocations: 23.95 kB / 1.275 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/3.245, allocations: 24 kB / 1.275 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/3.246, allocations: 199.8 kB / 1.275 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003054/3.246, allocations: 0.6133 MB / 1.276 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/3.247, allocations: 19.94 kB / 1.276 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/3.247, allocations: 60.08 kB / 1.276 GB, free: 11.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0001419/3.247, allocations: 148.5 kB / 1.276 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002933/3.248, allocations: 117.2 kB / 1.276 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/3.248, allocations: 31.62 kB / 1.276 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/3.248, allocations: 145.4 kB / 1.276 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/3.248, allocations: 7.984 kB / 1.276 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/3.248, allocations: 0 / 1.276 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/3.248, allocations: 0 / 1.276 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009233/3.249, allocations: 0.5523 MB / 1.277 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/3.249, allocations: 4 kB / 1.277 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/3.25, allocations: 47.97 kB / 1.277 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/3.25, allocations: 4 kB / 1.277 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/3.25, allocations: 3.984 kB / 1.277 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002283/3.25, allocations: 0.586 MB / 1.277 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/3.25, allocations: 0 / 1.277 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/3.25, allocations: 252.6 kB / 1.277 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/3.25, allocations: 128.7 kB / 1.278 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/3.25, allocations: 0 / 1.278 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/3.251, allocations: 11.98 kB / 1.278 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/3.251, allocations: 12 kB / 1.278 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/3.251, allocations: 11.98 kB / 1.278 GB, free: 9.586 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002488/3.251, allocations: 224.6 kB / 1.278 GB, free: 9.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/3.251, allocations: 0 / 1.278 GB, free: 9.363 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002116/3.253, allocations: 463.5 kB / 1.278 GB, free: 8.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.004762/3.258, allocations: 2.127 MB / 1.28 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008559/3.259, allocations: 300.5 kB / 1.281 GB, free: 6.461 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/3.259, allocations: 0 / 1.281 GB, free: 6.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/3.259, allocations: 54.16 kB / 1.281 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/3.26, allocations: 37.16 kB / 1.281 GB, free: 6.375 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.4807/3.74, allocations: 53.82 MB / 1.333 GB, free: 103.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/3.741, allocations: 0.7997 MB / 1.334 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/3.741, allocations: 126.8 kB / 1.334 GB, free: 102.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.021e-06/3.741, allocations: 0 / 1.334 GB, free: 102.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.275/7.016, allocations: 17.32 MB / 1.351 GB, free: 97.49 MB / 426.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