Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a2.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.2 MB / 186.8 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 4 kB / 233.3 MB, free: 0.8398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08299, allocations: 38.78 MB / 272.1 MB, free: 9.984 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.93/16.02, allocations: 5.484 GB / 5.75 GB, free: 3.312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/16.02, allocations: 72.08 kB / 5.75 GB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.86/21.88, allocations: 0.9865 GB / 6.736 GB, free: 53.43 MB / 490.9 MB Notification: Performance of FrontEnd: time 1.934e-06/21.88, allocations: 0 / 6.736 GB, free: 53.43 MB / 490.9 MB Notification: Performance of Transformations before backend: time 3.562e-05/21.88, allocations: 11.38 kB / 6.736 GB, free: 53.43 MB / 490.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.03433/21.91, allocations: 1.599 MB / 6.738 GB, free: 52.75 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/21.91, allocations: 11.94 kB / 6.738 GB, free: 52.75 MB / 490.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/21.91, allocations: 86.77 kB / 6.738 GB, free: 52.71 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/21.91, allocations: 93.22 kB / 6.738 GB, free: 52.69 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/21.91, allocations: 389.7 kB / 6.739 GB, free: 52.48 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/21.91, allocations: 37.59 kB / 6.739 GB, free: 52.48 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/21.91, allocations: 47.97 kB / 6.739 GB, free: 52.48 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/21.91, allocations: 0.6174 MB / 6.739 GB, free: 52.33 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/21.91, allocations: 7.5 kB / 6.739 GB, free: 52.33 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/21.91, allocations: 18.25 kB / 6.739 GB, free: 52.33 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/21.91, allocations: 10.69 kB / 6.739 GB, free: 52.33 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/21.91, allocations: 0.5223 MB / 6.74 GB, free: 52.32 MB / 490.9 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.009345/21.92, allocations: 6.088 MB / 6.746 GB, free: 49.75 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/21.93, allocations: 426.9 kB / 6.746 GB, free: 49.73 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004362/21.93, allocations: 2.842 MB / 6.749 GB, free: 47.29 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/21.93, allocations: 36.69 kB / 6.749 GB, free: 47.25 MB / 490.9 MB Notification: Performance of pre-optimization done (n=46): time 3.636e-06/21.93, allocations: 0 / 6.749 GB, free: 47.25 MB / 490.9 MB Notification: Performance of matching and sorting (n=54): time 0.01303/21.94, allocations: 2.03 MB / 6.751 GB, free: 46.78 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/21.94, allocations: 60.81 kB / 6.751 GB, free: 46.71 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/21.94, allocations: 269.6 kB / 6.751 GB, free: 46.62 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/21.94, allocations: 35.17 kB / 6.751 GB, free: 46.59 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/21.94, allocations: 282.1 kB / 6.752 GB, free: 46.39 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/21.94, allocations: 190.3 kB / 6.752 GB, free: 46.3 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/21.94, allocations: 11.53 kB / 6.752 GB, free: 46.3 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/21.94, allocations: 345.7 kB / 6.752 GB, free: 45.98 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/21.94, allocations: 173.9 kB / 6.752 GB, free: 45.98 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/21.94, allocations: 332.4 kB / 6.753 GB, free: 45.81 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/21.95, allocations: 235.4 kB / 6.753 GB, free: 45.8 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/21.95, allocations: 0 / 6.753 GB, free: 45.8 MB / 490.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001824/21.95, allocations: 0.6504 MB / 6.753 GB, free: 45.73 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/21.95, allocations: 11.19 kB / 6.753 GB, free: 45.73 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/21.95, allocations: 3.219 kB / 6.753 GB, free: 45.73 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02404/21.97, allocations: 0.5485 MB / 6.754 GB, free: 45.71 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/21.97, allocations: 142.6 kB / 6.754 GB, free: 45.71 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/21.97, allocations: 3.001 MB / 6.757 GB, free: 42.83 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/21.98, allocations: 48.62 kB / 6.757 GB, free: 42.83 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/21.98, allocations: 31.06 kB / 6.757 GB, free: 42.83 MB / 490.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * 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: 3 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/21.98, allocations: 187 kB / 6.757 GB, free: 42.71 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/21.98, allocations: 41.91 kB / 6.757 GB, free: 42.7 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/21.98, allocations: 1.064 MB / 6.758 GB, free: 42.59 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/21.98, allocations: 10.12 kB / 6.758 GB, free: 42.59 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/21.98, allocations: 3.953 kB / 6.758 GB, free: 42.58 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/21.98, allocations: 1.086 MB / 6.759 GB, free: 42.19 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/21.98, allocations: 1.724 MB / 6.761 GB, free: 41.84 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/21.98, allocations: 5.578 kB / 6.761 GB, free: 41.84 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/21.98, allocations: 101.9 kB / 6.761 GB, free: 41.84 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006327/21.99, allocations: 398.4 kB / 6.762 GB, free: 41.81 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/21.99, allocations: 21.5 kB / 6.762 GB, free: 41.81 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006608/21.99, allocations: 1.146 MB / 6.763 GB, free: 40.77 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/21.99, allocations: 10.58 kB / 6.763 GB, free: 40.77 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/21.99, allocations: 1.119 MB / 6.764 GB, free: 40.57 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/21.99, allocations: 141.7 kB / 6.764 GB, free: 40.45 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/21.99, allocations: 10.94 kB / 6.764 GB, free: 40.45 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/21.99, allocations: 30.92 kB / 6.764 GB, free: 40.45 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/21.99, allocations: 42.22 kB / 6.764 GB, free: 40.44 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/21.99, allocations: 24.14 kB / 6.764 GB, free: 40.44 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.0003529/21.99, allocations: 252.8 kB / 6.764 GB, free: 40.36 MB / 490.9 MB Notification: Performance of sort global known variables: time 4.7e-07/21.99, allocations: 0 / 6.764 GB, free: 40.36 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.02198/22.02, allocations: 1.102 MB / 6.765 GB, free: 40.18 MB / 490.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.2327/22.25, allocations: 25.26 MB / 6.79 GB, free: 27.71 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.001943/22.25, allocations: 0.6892 MB / 6.791 GB, free: 27.59 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/22.25, allocations: 0 / 6.791 GB, free: 27.59 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0008258/22.25, allocations: 362.3 kB / 6.791 GB, free: 27.59 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/22.25, allocations: 247 kB / 6.791 GB, free: 27.58 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/22.28, allocations: 6.666 MB / 6.798 GB, free: 23.35 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/22.28, allocations: 0.8744 MB / 6.799 GB, free: 22.64 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/22.28, allocations: 209.9 kB / 6.799 GB, free: 22.63 MB / 490.9 MB Notification: Performance of SimCode: time 9.32e-07/22.28, allocations: 0 / 6.799 GB, free: 22.63 MB / 490.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.614/25.89, allocations: 49.14 MB / 6.847 GB, free: 9.418 MB / 490.9 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat