Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.167e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3568, allocations: 54.84 MB / 358.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.685, allocations: 455.7 MB / 0.7948 GB, free: 39.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/1.686, allocations: 70.72 kB / 0.7948 GB, free: 39.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1301/1.816, allocations: 29.28 MB / 0.8234 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.816, allocations: 4 kB / 0.8234 GB, free: 15.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/1.816, allocations: 0 / 0.8234 GB, free: 15.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005732/1.817, allocations: 386 kB / 0.8238 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.817, allocations: 8.031 kB / 0.8238 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/1.819, allocations: 185.4 kB / 0.824 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/1.82, allocations: 211.6 kB / 0.8242 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/1.82, allocations: 3.984 kB / 0.8242 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/1.82, allocations: 8 kB / 0.8242 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004792/1.82, allocations: 144.3 kB / 0.8243 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/1.821, allocations: 138.4 kB / 0.8245 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.821, allocations: 0 / 0.8245 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/1.821, allocations: 0 / 0.8245 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/1.821, allocations: 3.953 kB / 0.8245 GB, free: 14.77 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001299/1.822, allocations: 0.5539 MB / 0.825 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/1.822, allocations: 123.1 kB / 0.8251 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/1.823, allocations: 64.84 kB / 0.8252 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/1.823, allocations: 4 kB / 0.8252 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.823, allocations: 37.53 kB / 0.8252 GB, free: 14.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.966e-06/1.823, allocations: 0 / 0.8252 GB, free: 14.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.00645/1.829, allocations: 0.8853 MB / 0.8261 GB, free: 13.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/1.829, allocations: 55.41 kB / 0.8262 GB, free: 13.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/1.829, allocations: 105 kB / 0.8263 GB, free: 13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/1.829, allocations: 25.7 kB / 0.8263 GB, free: 12.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/1.829, allocations: 166.4 kB / 0.8264 GB, free: 12.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/1.83, allocations: 70.94 kB / 0.8265 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.83, allocations: 224 / 0.8265 GB, free: 12.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/1.83, allocations: 314.8 kB / 0.8268 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/1.83, allocations: 67.92 kB / 0.8269 GB, free: 12.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/1.83, allocations: 92.42 kB / 0.827 GB, free: 12.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/1.83, allocations: 73.64 kB / 0.827 GB, free: 12.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.83, allocations: 0 / 0.827 GB, free: 12.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000572/1.831, allocations: 236.2 kB / 0.8273 GB, free: 11.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.831, allocations: 4 kB / 0.8273 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.831, allocations: 0 / 0.8273 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/1.831, allocations: 48.88 kB / 0.8273 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/1.832, allocations: 55.95 kB / 0.8274 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/1.832, allocations: 0.564 MB / 0.8279 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/1.832, allocations: 4.031 kB / 0.8279 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/1.832, allocations: 27.98 kB / 0.8279 GB, free: 11.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 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 prepare postOptimizeDAE: time 0.0001297/1.833, allocations: 113 kB / 0.8281 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005244/1.833, allocations: 220.1 kB / 0.8283 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/1.833, allocations: 11.91 kB / 0.8283 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/1.834, allocations: 315 kB / 0.8286 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.834, allocations: 4 kB / 0.8286 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.834, allocations: 0 / 0.8286 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.834, allocations: 3.953 kB / 0.8286 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.835, allocations: 0.5534 MB / 0.8291 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.835, allocations: 0 / 0.8291 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/1.836, allocations: 59.89 kB / 0.8292 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/1.836, allocations: 20.84 kB / 0.8292 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/1.836, allocations: 11.95 kB / 0.8292 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/1.837, allocations: 1.221 MB / 0.8304 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.837, allocations: 4.031 kB / 0.8304 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/1.838, allocations: 435.3 kB / 0.8308 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/1.838, allocations: 88.95 kB / 0.8309 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/1.838, allocations: 0 / 0.8309 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/1.838, allocations: 8.062 kB / 0.8309 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/1.838, allocations: 31.84 kB / 0.8309 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/1.838, allocations: 31.98 kB / 0.831 GB, free: 7.852 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.897e-05/1.838, allocations: 95.5 kB / 0.8311 GB, free: 7.758 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.838, allocations: 0 / 0.8311 GB, free: 7.758 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007138/1.839, allocations: 99.92 kB / 0.8312 GB, free: 7.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00203/1.841, allocations: 1.682 MB / 0.8328 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/1.842, allocations: 188.5 kB / 0.833 GB, free: 5.754 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.842, allocations: 0 / 0.833 GB, free: 5.754 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/1.842, allocations: 209.6 kB / 0.8332 GB, free: 5.539 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/1.843, allocations: 37.56 kB / 0.8332 GB, free: 5.504 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.844, allocations: 402.9 kB / 0.8336 GB, free: 5.055 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/1.844, allocations: 0.7085 MB / 0.8343 GB, free: 4.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/1.845, allocations: 71.41 kB / 0.8344 GB, free: 4.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.845, allocations: 0 / 0.8344 GB, free: 4.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.219/5.064, allocations: 6.842 MB / 0.841 GB, free: 174.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat