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.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.948/1.948, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004443, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3567, allocations: 48.69 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.692/2.049, allocations: 0.5999 GB / 0.9235 GB, free: 49.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/2.049, allocations: 73.53 kB / 0.9236 GB, free: 49.16 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.1614/2.211, allocations: 45.99 MB / 0.9685 GB, free: 8.117 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.211, allocations: 0 / 0.9685 GB, free: 8.117 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/2.211, allocations: 0 / 0.9685 GB, free: 8.117 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008052/2.211, allocations: 446 kB / 0.9689 GB, free: 7.637 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/2.211, allocations: 8.031 kB / 0.969 GB, free: 7.629 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/2.212, allocations: 34.56 kB / 0.969 GB, free: 7.586 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/2.212, allocations: 3.953 kB / 0.969 GB, free: 7.582 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/2.212, allocations: 174.9 kB / 0.9692 GB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/2.212, allocations: 11.98 kB / 0.9692 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/2.212, allocations: 7.906 kB / 0.9692 GB, free: 7.352 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/2.212, allocations: 69.67 kB / 0.9692 GB, free: 7.277 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/2.212, allocations: 8 kB / 0.9693 GB, free: 7.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/2.212, allocations: 0 / 0.9693 GB, free: 7.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/2.212, allocations: 0 / 0.9693 GB, free: 7.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/2.212, allocations: 43.97 kB / 0.9693 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/2.213, allocations: 397.7 kB / 0.9697 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/2.213, allocations: 62.55 kB / 0.9697 GB, free: 6.699 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/2.215, allocations: 1.001 MB / 0.9707 GB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/2.215, allocations: 34.56 kB / 0.9707 GB, free: 5.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/2.215, allocations: 0 / 0.9707 GB, free: 5.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0127/2.228, allocations: 0.6493 MB / 0.9714 GB, free: 4.793 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/2.228, allocations: 59.39 kB / 0.9714 GB, free: 4.723 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/2.228, allocations: 93 kB / 0.9715 GB, free: 4.625 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/2.228, allocations: 25.7 kB / 0.9715 GB, free: 4.594 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/2.228, allocations: 166.7 kB / 0.9717 GB, free: 4.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/2.228, allocations: 43.3 kB / 0.9717 GB, free: 4.383 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/2.228, allocations: 8 kB / 0.9718 GB, free: 4.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/2.228, allocations: 318.8 kB / 0.9721 GB, free: 4.055 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/2.229, allocations: 79.94 kB / 0.9721 GB, free: 3.977 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/2.229, allocations: 98.52 kB / 0.9722 GB, free: 3.871 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/2.23, allocations: 87.92 kB / 0.9723 GB, free: 3.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/2.23, allocations: 3.953 kB / 0.9723 GB, free: 3.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001256/2.231, allocations: 249.5 kB / 0.9726 GB, free: 3.531 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/2.231, allocations: 4 kB / 0.9726 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/2.231, allocations: 4 kB / 0.9726 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/2.231, allocations: 0 / 0.9726 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/2.232, allocations: 51.94 kB / 0.9726 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/2.232, allocations: 7.938 kB / 0.9726 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/2.233, allocations: 19.98 kB / 0.9726 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/2.234, allocations: 11.98 kB / 0.9727 GB, free: 3.434 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001817/2.234, allocations: 121.8 kB / 0.9728 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/2.234, allocations: 8.109 kB / 0.9728 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/2.236, allocations: 345.8 kB / 0.9731 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/2.236, allocations: 4 kB / 0.9731 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/2.236, allocations: 4 kB / 0.9731 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/2.236, allocations: 3.984 kB / 0.9731 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/2.238, allocations: 0.7442 MB / 0.9738 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.238, allocations: 0 / 0.9738 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/2.239, allocations: 47.91 kB / 0.9739 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/2.239, allocations: 0 / 0.9739 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/2.239, allocations: 7.984 kB / 0.9739 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/2.239, allocations: 0 / 0.9739 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/2.239, allocations: 0 / 0.9739 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/2.24, allocations: 350.1 kB / 0.9742 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/2.241, allocations: 108.9 kB / 0.9743 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/2.241, allocations: 7.938 kB / 0.9743 GB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/2.242, allocations: 11.94 kB / 0.9744 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/2.242, allocations: 15.97 kB / 0.9744 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/2.242, allocations: 8 kB / 0.9744 GB, free: 1.531 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.398e-05/2.242, allocations: 83.27 kB / 0.9745 GB, free: 1.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.242, allocations: 0 / 0.9745 GB, free: 1.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001155/2.243, allocations: 143.9 kB / 0.9746 GB, free: 1.309 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * 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.2798/2.523, allocations: 1.415 MB / 0.976 GB, free: 140.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/2.524, allocations: 200.7 kB / 0.9762 GB, free: 140.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/2.524, allocations: 0 / 0.9762 GB, free: 140.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/2.524, allocations: 115.4 kB / 0.9763 GB, free: 140.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/2.525, allocations: 26.05 kB / 0.9763 GB, free: 140.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/2.526, allocations: 417.1 kB / 0.9767 GB, free: 140 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/2.526, allocations: 0.7002 MB / 0.9774 GB, free: 139.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/2.527, allocations: 48.34 kB / 0.9774 GB, free: 139.3 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/2.527, allocations: 1.859 kB / 0.9774 GB, free: 139.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.617/5.144, allocations: 7.223 MB / 0.9845 GB, free: 139 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat