Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.CO2.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.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.979/1.979, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3561, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.601, allocations: 486 MB / 0.7982 GB, free: 5.055 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.602, allocations: 66.66 kB / 0.7983 GB, free: 5.02 MB / 442.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.4923/2.094, allocations: 57.98 MB / 0.8549 GB, free: 137.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.254e-06/2.094, allocations: 3.938 kB / 0.8549 GB, free: 137.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/2.094, allocations: 4 kB / 0.8549 GB, free: 137.2 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00207/2.096, allocations: 0.706 MB / 0.8556 GB, free: 136.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/2.096, allocations: 8.031 kB / 0.8556 GB, free: 136.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/2.096, allocations: 62.53 kB / 0.8557 GB, free: 136.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/2.109, allocations: 0.5893 MB / 0.8562 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/2.109, allocations: 250.8 kB / 0.8565 GB, free: 135.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/2.109, allocations: 127.4 kB / 0.8566 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/2.11, allocations: 20 kB / 0.8566 GB, free: 135.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/2.111, allocations: 0.5595 MB / 0.8572 GB, free: 134.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/2.111, allocations: 7.938 kB / 0.8572 GB, free: 134.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/2.112, allocations: 8 kB / 0.8572 GB, free: 134.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/2.112, allocations: 8 kB / 0.8572 GB, free: 134.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/2.114, allocations: 0.6181 MB / 0.8578 GB, free: 134.1 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.002638/2.116, allocations: 1.63 MB / 0.8594 GB, free: 132.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/2.117, allocations: 162.4 kB / 0.8595 GB, free: 132.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/2.118, allocations: 1.207 MB / 0.8607 GB, free: 130.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/2.118, allocations: 38.56 kB / 0.8608 GB, free: 130.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/2.119, allocations: 0 / 0.8608 GB, free: 130.7 MB / 442.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001439/2.12, allocations: 336.5 kB / 0.8611 GB, free: 130.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/2.12, allocations: 55.36 kB / 0.8611 GB, free: 130.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/2.12, allocations: 161.3 kB / 0.8613 GB, free: 130.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/2.12, allocations: 33.7 kB / 0.8613 GB, free: 130.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/2.12, allocations: 245.8 kB / 0.8615 GB, free: 129.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/2.12, allocations: 78.92 kB / 0.8616 GB, free: 129.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/2.12, allocations: 8 kB / 0.8616 GB, free: 129.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/2.121, allocations: 322.8 kB / 0.8619 GB, free: 129.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/2.121, allocations: 64.7 kB / 0.862 GB, free: 129.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/2.121, allocations: 260 kB / 0.8623 GB, free: 129 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/2.121, allocations: 101.2 kB / 0.8623 GB, free: 128.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/2.121, allocations: 4 kB / 0.8624 GB, free: 128.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008309/2.122, allocations: 365.5 kB / 0.8627 GB, free: 128.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/2.122, allocations: 8 kB / 0.8627 GB, free: 128.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/2.122, allocations: 8 kB / 0.8627 GB, free: 128.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/2.122, allocations: 12.03 kB / 0.8627 GB, free: 128.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/2.123, allocations: 123.8 kB / 0.8628 GB, free: 128.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003321/2.123, allocations: 0.6094 MB / 0.8634 GB, free: 127.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/2.124, allocations: 35.59 kB / 0.8635 GB, free: 127.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/2.124, allocations: 43.98 kB / 0.8635 GB, free: 127.7 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0001819/2.124, allocations: 145.8 kB / 0.8637 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/2.124, allocations: 19.81 kB / 0.8637 GB, free: 127.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/2.125, allocations: 330.7 kB / 0.864 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/2.125, allocations: 0 / 0.864 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/2.125, allocations: 4 kB / 0.864 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/2.125, allocations: 3.984 kB / 0.864 GB, free: 127.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/2.126, allocations: 0.5413 MB / 0.8645 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.126, allocations: 0 / 0.8645 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/2.127, allocations: 63.91 kB / 0.8646 GB, free: 126.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/2.127, allocations: 3.984 kB / 0.8646 GB, free: 126.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/2.127, allocations: 12 kB / 0.8646 GB, free: 126.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002804/2.127, allocations: 0.6056 MB / 0.8652 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.127, allocations: 0 / 0.8652 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/2.128, allocations: 340.1 kB / 0.8655 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/2.128, allocations: 112.9 kB / 0.8656 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/2.128, allocations: 7.938 kB / 0.8656 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/2.128, allocations: 23.92 kB / 0.8657 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/2.128, allocations: 15.94 kB / 0.8657 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/2.128, allocations: 27.92 kB / 0.8657 GB, free: 125.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001262/2.128, allocations: 127.8 kB / 0.8658 GB, free: 125.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.128, allocations: 0 / 0.8658 GB, free: 125.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001317/2.13, allocations: 251.9 kB / 0.8661 GB, free: 124.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (16): * Single equations (assignments): 15 * 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.002531/2.132, allocations: 1.876 MB / 0.8679 GB, free: 123 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008045/2.133, allocations: 217.4 kB / 0.8681 GB, free: 122.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/2.133, allocations: 0 / 0.8681 GB, free: 122.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/2.134, allocations: 83.83 kB / 0.8682 GB, free: 122.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/2.134, allocations: 56.5 kB / 0.8682 GB, free: 122.6 MB / 442.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 simCode: created linear, non-linear and system jacobian parts: time 0.1134/2.248, allocations: 36.7 MB / 0.9041 GB, free: 85.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/2.248, allocations: 0.7248 MB / 0.9048 GB, free: 84.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/2.248, allocations: 95.38 kB / 0.9049 GB, free: 84.73 MB / 442.7 MB Notification: Performance of SimCode: time 3.477e-06/2.248, allocations: 0 / 0.9049 GB, free: 84.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.876/5.124, allocations: 9.181 MB / 0.9138 GB, free: 75.54 MB / 442.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