Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.975e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/1.561, allocations: 485.5 MB / 0.783 GB, free: 19.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.561, allocations: 74.28 kB / 0.7831 GB, free: 19.01 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.5041/2.065, allocations: 57.09 MB / 0.8388 GB, free: 135.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/2.065, allocations: 0 / 0.8388 GB, free: 135.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/2.066, allocations: 0 / 0.8388 GB, free: 135.8 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002129/2.068, allocations: 0.6872 MB / 0.8395 GB, free: 135.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/2.068, allocations: 7.25 kB / 0.8395 GB, free: 135.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/2.08, allocations: 0.596 MB / 0.8401 GB, free: 135 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/2.08, allocations: 254.5 kB / 0.8403 GB, free: 134.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/2.081, allocations: 123.1 kB / 0.8405 GB, free: 134.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/2.081, allocations: 23.67 kB / 0.8405 GB, free: 134.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001478/2.082, allocations: 0.5425 MB / 0.841 GB, free: 134.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/2.083, allocations: 308.2 kB / 0.8413 GB, free: 134.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/2.083, allocations: 0 / 0.8413 GB, free: 134.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/2.083, allocations: 0 / 0.8413 GB, free: 134.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/2.083, allocations: 8.125 kB / 0.8413 GB, free: 134.1 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.003622/2.087, allocations: 2.55 MB / 0.8438 GB, free: 131.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/2.088, allocations: 122.7 kB / 0.8439 GB, free: 131.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/2.088, allocations: 32.3 kB / 0.8439 GB, free: 131.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.599e-05/2.088, allocations: 27.12 kB / 0.844 GB, free: 131.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/2.089, allocations: 38.44 kB / 0.844 GB, free: 131.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.056e-06/2.089, allocations: 0 / 0.844 GB, free: 131.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.005382/2.094, allocations: 0.5103 MB / 0.8445 GB, free: 131.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/2.094, allocations: 55.16 kB / 0.8446 GB, free: 131 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/2.094, allocations: 188.5 kB / 0.8447 GB, free: 130.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/2.094, allocations: 25.7 kB / 0.8448 GB, free: 130.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/2.094, allocations: 282.3 kB / 0.845 GB, free: 130.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/2.094, allocations: 39.36 kB / 0.8451 GB, free: 130.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/2.094, allocations: 2.594 kB / 0.8451 GB, free: 130.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/2.095, allocations: 326.7 kB / 0.8454 GB, free: 130.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/2.095, allocations: 56.98 kB / 0.8454 GB, free: 130.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/2.095, allocations: 265.5 kB / 0.8457 GB, free: 129.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/2.097, allocations: 277.3 kB / 0.846 GB, free: 129.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/2.097, allocations: 7.938 kB / 0.846 GB, free: 129.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002148/2.099, allocations: 0.5082 MB / 0.8465 GB, free: 129.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/2.099, allocations: 11.95 kB / 0.8465 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/2.099, allocations: 4.906 kB / 0.8465 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/2.099, allocations: 12 kB / 0.8465 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/2.1, allocations: 167.8 kB / 0.8467 GB, free: 129.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003218/2.1, allocations: 0.6016 MB / 0.8472 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/2.101, allocations: 8 kB / 0.8472 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/2.101, allocations: 55.98 kB / 0.8473 GB, free: 128.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * 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): 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.0001401/2.101, allocations: 124.8 kB / 0.8474 GB, free: 128.3 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004054/2.101, allocations: 149.4 kB / 0.8476 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/2.102, allocations: 23.81 kB / 0.8476 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/2.102, allocations: 248.2 kB / 0.8478 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/2.102, allocations: 0 / 0.8478 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/2.102, allocations: 4 kB / 0.8478 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/2.102, allocations: 0 / 0.8478 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/2.103, allocations: 451.2 kB / 0.8483 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/2.103, allocations: 3.984 kB / 0.8483 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/2.104, allocations: 67.91 kB / 0.8483 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/2.104, allocations: 4 kB / 0.8483 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/2.104, allocations: 7.984 kB / 0.8483 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002705/2.104, allocations: 0.5938 MB / 0.8489 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/2.104, allocations: 8.031 kB / 0.8489 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/2.105, allocations: 272.4 kB / 0.8492 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/2.105, allocations: 116.9 kB / 0.8493 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/2.105, allocations: 0 / 0.8493 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/2.105, allocations: 15.98 kB / 0.8493 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/2.105, allocations: 11.98 kB / 0.8493 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/2.105, allocations: 31.98 kB / 0.8494 GB, free: 126.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000128/2.106, allocations: 128.6 kB / 0.8495 GB, free: 126.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.106, allocations: 0 / 0.8495 GB, free: 126.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001419/2.107, allocations: 271.7 kB / 0.8497 GB, free: 125.8 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 (12): * Single equations (assignments): 11 * 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.002535/2.11, allocations: 1.713 MB / 0.8514 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000759/2.11, allocations: 200.1 kB / 0.8516 GB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/2.11, allocations: 0 / 0.8516 GB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/2.111, allocations: 75.91 kB / 0.8517 GB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/2.111, allocations: 33.44 kB / 0.8517 GB, free: 123.8 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.1115/2.223, allocations: 30.67 MB / 0.8817 GB, free: 93.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/2.223, allocations: 0.7287 MB / 0.8824 GB, free: 92.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/2.223, allocations: 119.4 kB / 0.8825 GB, free: 92.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/2.223, allocations: 0 / 0.8825 GB, free: 92.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/5.062, allocations: 10.46 MB / 0.8927 GB, free: 82.07 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat