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.R134a1.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.R134a1,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.657/1.657, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.0833, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.17/16.26, allocations: 5.484 GB / 5.75 GB, free: 78.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/16.26, allocations: 72.64 kB / 5.75 GB, free: 78.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.783/21.04, allocations: 0.8108 GB / 6.561 GB, free: 17.69 MB / 442.9 MB Notification: Performance of FrontEnd: time 1.913e-06/21.04, allocations: 0 / 6.561 GB, free: 17.69 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.693e-05/21.04, allocations: 19.98 kB / 6.561 GB, free: 17.67 MB / 442.9 MB 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.02924/21.07, allocations: 1.266 MB / 6.562 GB, free: 16.48 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/21.07, allocations: 8.031 kB / 6.562 GB, free: 16.48 MB / 442.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/21.07, allocations: 71.73 kB / 6.562 GB, free: 16.4 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/21.07, allocations: 67.58 kB / 6.562 GB, free: 16.33 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/21.07, allocations: 327.7 kB / 6.562 GB, free: 15.99 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/21.07, allocations: 24.66 kB / 6.562 GB, free: 15.96 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/21.07, allocations: 39.38 kB / 6.562 GB, free: 15.93 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/21.07, allocations: 451.8 kB / 6.563 GB, free: 15.45 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/21.07, allocations: 0 / 6.563 GB, free: 15.45 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/21.07, allocations: 20 kB / 6.563 GB, free: 15.43 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/21.07, allocations: 8 kB / 6.563 GB, free: 15.42 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/21.07, allocations: 390.2 kB / 6.563 GB, free: 15.04 MB / 442.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.008258/21.08, allocations: 5.229 MB / 6.568 GB, free: 9.57 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/21.08, allocations: 294.9 kB / 6.569 GB, free: 9.273 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003517/21.09, allocations: 2.063 MB / 6.571 GB, free: 6.859 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/21.09, allocations: 38.52 kB / 6.571 GB, free: 6.812 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 4.008e-06/21.09, allocations: 0 / 6.571 GB, free: 6.812 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.007404/21.09, allocations: 1.281 MB / 6.572 GB, free: 5.465 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/21.09, allocations: 59.41 kB / 6.572 GB, free: 5.395 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/21.09, allocations: 231.8 kB / 6.572 GB, free: 5.164 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/21.09, allocations: 29.7 kB / 6.572 GB, free: 5.129 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/21.09, allocations: 246.4 kB / 6.573 GB, free: 4.898 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/21.09, allocations: 122.2 kB / 6.573 GB, free: 4.793 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/21.09, allocations: 8 kB / 6.573 GB, free: 4.785 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/21.09, allocations: 326.8 kB / 6.573 GB, free: 4.457 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/21.1, allocations: 112.8 kB / 6.573 GB, free: 4.348 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/21.1, allocations: 226 kB / 6.573 GB, free: 4.078 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/21.1, allocations: 144 kB / 6.573 GB, free: 3.938 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/21.1, allocations: 0 / 6.573 GB, free: 3.938 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001211/21.1, allocations: 446.7 kB / 6.574 GB, free: 3.488 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/21.1, allocations: 8 kB / 6.574 GB, free: 3.48 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/21.1, allocations: 4.438 kB / 6.574 GB, free: 3.477 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/21.11, allocations: 297.3 kB / 6.574 GB, free: 3.18 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/21.11, allocations: 91.83 kB / 6.574 GB, free: 3.09 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/21.11, allocations: 1.836 MB / 6.576 GB, free: 1.098 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/21.11, allocations: 38.17 kB / 6.576 GB, free: 1.062 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/21.11, allocations: 27.66 kB / 6.576 GB, free: 1.039 MB / 442.9 MB 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.0002893/21.11, allocations: 164 kB / 6.576 GB, free: 0.8711 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/21.11, allocations: 27.72 kB / 6.576 GB, free: 0.8438 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/21.11, allocations: 0.7073 MB / 6.577 GB, free: 136 kB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/21.11, allocations: 8 kB / 6.577 GB, free: 128 kB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/21.11, allocations: 0 / 6.577 GB, free: 128 kB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/21.12, allocations: 0.8595 MB / 6.578 GB, free: 15.18 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/21.12, allocations: 1.194 MB / 6.579 GB, free: 13.93 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/21.12, allocations: 0 / 6.579 GB, free: 13.93 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/21.12, allocations: 67.91 kB / 6.579 GB, free: 13.86 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003326/21.12, allocations: 196.5 kB / 6.579 GB, free: 13.66 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/21.12, allocations: 11.98 kB / 6.579 GB, free: 13.65 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005809/21.12, allocations: 0.5758 MB / 6.58 GB, free: 13.05 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/21.12, allocations: 0 / 6.58 GB, free: 13.05 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/21.12, allocations: 0.7327 MB / 6.58 GB, free: 12.3 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/21.12, allocations: 126.6 kB / 6.581 GB, free: 12.16 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.83e-05/21.12, allocations: 11.95 kB / 6.581 GB, free: 12.15 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/21.13, allocations: 28.05 kB / 6.581 GB, free: 12.12 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/21.13, allocations: 19.97 kB / 6.581 GB, free: 12.11 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/21.13, allocations: 15.98 kB / 6.581 GB, free: 12.09 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0003861/21.13, allocations: 218 kB / 6.581 GB, free: 11.88 MB / 458.9 MB Notification: Performance of sort global known variables: time 3.61e-07/21.13, allocations: 0 / 6.581 GB, free: 11.88 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01882/21.14, allocations: 0.8544 MB / 6.582 GB, free: 11.07 MB / 458.9 MB 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.1989/21.34, allocations: 20.24 MB / 6.601 GB, free: 6.883 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.001403/21.34, allocations: 469.8 kB / 6.602 GB, free: 6.41 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/21.34, allocations: 3.984 kB / 6.602 GB, free: 6.406 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0006059/21.35, allocations: 227.8 kB / 6.602 GB, free: 6.184 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/21.35, allocations: 185.5 kB / 6.602 GB, free: 6.004 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/21.37, allocations: 4.951 MB / 6.607 GB, free: 0.9883 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/21.37, allocations: 0.8129 MB / 6.608 GB, free: 156 kB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/21.37, allocations: 139.3 kB / 6.608 GB, free: 16 kB / 474.9 MB Notification: Performance of SimCode: time 1.343e-06/21.37, allocations: 0 / 6.608 GB, free: 16 kB / 474.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.645/25.02, allocations: 37.21 MB / 6.644 GB, free: 59.48 MB / 474.9 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat