Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.R134a.R134a1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004874, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.5/17.63, allocations: 5.72 GB / 6.022 GB, free: 79.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/17.63, allocations: 78.8 kB / 6.022 GB, free: 79.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.7/33.34, allocations: 3.493 GB / 9.515 GB, free: 6.598 MB / 0.5888 GB Notification: Performance of FrontEnd: time 1.723e-06/33.34, allocations: 0 / 9.515 GB, free: 6.598 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 2.897e-05/33.34, allocations: 12 kB / 9.515 GB, free: 6.586 MB / 0.5888 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.04894/33.38, allocations: 1.708 MB / 9.517 GB, free: 5.004 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/33.38, allocations: 8.031 kB / 9.517 GB, free: 4.996 MB / 0.5888 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/33.38, allocations: 70.53 kB / 9.517 GB, free: 4.918 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006973/33.39, allocations: 64.53 kB / 9.517 GB, free: 4.855 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/33.39, allocations: 328.7 kB / 9.517 GB, free: 4.508 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/33.39, allocations: 20.66 kB / 9.517 GB, free: 4.488 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/33.39, allocations: 39.94 kB / 9.517 GB, free: 4.449 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/33.39, allocations: 447.8 kB / 9.518 GB, free: 3.977 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/33.39, allocations: 0 / 9.518 GB, free: 3.977 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/33.39, allocations: 23.98 kB / 9.518 GB, free: 3.953 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/33.39, allocations: 12 kB / 9.518 GB, free: 3.941 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/33.39, allocations: 386.2 kB / 9.518 GB, free: 3.559 MB / 0.5888 GB 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.4598/33.85, allocations: 5.216 MB / 9.523 GB, free: 123.9 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/33.85, allocations: 283.5 kB / 9.523 GB, free: 123.8 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003782/33.85, allocations: 2.068 MB / 9.525 GB, free: 122.1 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/33.85, allocations: 35.39 kB / 9.525 GB, free: 122 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.266e-06/33.85, allocations: 0 / 9.525 GB, free: 122 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.008449/33.86, allocations: 1.287 MB / 9.527 GB, free: 121.6 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/33.86, allocations: 55.81 kB / 9.527 GB, free: 121.6 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/33.86, allocations: 235.1 kB / 9.527 GB, free: 121.5 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/33.86, allocations: 29.83 kB / 9.527 GB, free: 121.4 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/33.86, allocations: 250.2 kB / 9.527 GB, free: 121.2 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/33.86, allocations: 126.2 kB / 9.527 GB, free: 121.2 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/33.86, allocations: 5.375 kB / 9.527 GB, free: 121.2 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/33.86, allocations: 326 kB / 9.528 GB, free: 120.9 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/33.86, allocations: 111 kB / 9.528 GB, free: 120.9 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/33.86, allocations: 223.2 kB / 9.528 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/33.86, allocations: 145.3 kB / 9.528 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/33.86, allocations: 5.766 kB / 9.528 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001426/33.87, allocations: 450.4 kB / 9.529 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/33.87, allocations: 7.5 kB / 9.529 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/33.87, allocations: 6.125 kB / 9.529 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/33.88, allocations: 293.1 kB / 9.529 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/33.88, allocations: 90.22 kB / 9.529 GB, free: 120.7 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/33.88, allocations: 1.849 MB / 9.531 GB, free: 118.9 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/33.88, allocations: 27.44 kB / 9.531 GB, free: 118.9 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/33.88, allocations: 23.22 kB / 9.531 GB, free: 118.9 MB / 0.5888 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003145/33.88, allocations: 166.7 kB / 9.531 GB, free: 118.8 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/33.88, allocations: 31.44 kB / 9.531 GB, free: 118.8 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/33.88, allocations: 0.701 MB / 9.532 GB, free: 118.7 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/33.88, allocations: 10.48 kB / 9.532 GB, free: 118.7 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/33.88, allocations: 3 kB / 9.532 GB, free: 118.7 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/33.88, allocations: 0.865 MB / 9.533 GB, free: 118.2 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/33.89, allocations: 1.19 MB / 9.534 GB, free: 117.9 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/33.89, allocations: 0 / 9.534 GB, free: 117.9 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/33.89, allocations: 67.39 kB / 9.534 GB, free: 117.9 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/33.89, allocations: 200.9 kB / 9.534 GB, free: 117.9 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/33.89, allocations: 12.64 kB / 9.534 GB, free: 117.9 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004055/33.89, allocations: 0.5715 MB / 9.535 GB, free: 117.4 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/33.89, allocations: 0.75 kB / 9.535 GB, free: 117.4 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/33.89, allocations: 0.7376 MB / 9.535 GB, free: 117.2 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/33.89, allocations: 130.8 kB / 9.535 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/33.89, allocations: 8.422 kB / 9.535 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/33.89, allocations: 23.2 kB / 9.535 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/33.89, allocations: 22.05 kB / 9.535 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/33.89, allocations: 14.98 kB / 9.535 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0003223/33.89, allocations: 222.8 kB / 9.536 GB, free: 117 MB / 0.5888 GB Notification: Performance of sort global known variables: time 5.11e-07/33.89, allocations: 0 / 9.536 GB, free: 117 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01804/33.91, allocations: 0.8513 MB / 9.536 GB, free: 117 MB / 0.5888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1913/34.1, allocations: 20.24 MB / 9.556 GB, free: 106.9 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.00129/34.1, allocations: 472.2 kB / 9.557 GB, free: 106.8 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/34.1, allocations: 2.375 kB / 9.557 GB, free: 106.8 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/34.1, allocations: 223.7 kB / 9.557 GB, free: 106.8 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/34.11, allocations: 178.5 kB / 9.557 GB, free: 106.8 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/34.13, allocations: 4.959 MB / 9.562 GB, free: 103.7 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/34.13, allocations: 0.8183 MB / 9.563 GB, free: 103 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/34.13, allocations: 137.4 kB / 9.563 GB, free: 103 MB / 0.5888 GB Notification: Performance of SimCode: time 1.052e-06/34.13, allocations: 0 / 9.563 GB, free: 103 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.476/37.6, allocations: 37.26 MB / 9.599 GB, free: 99.2 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat