Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.658e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.082/9.496, allocations: 2.952 GB / 3.308 GB, free: 91.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/9.496, allocations: 98.97 kB / 3.308 GB, free: 91.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.331/14.83, allocations: 1.135 GB / 4.443 GB, free: 68.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/14.83, allocations: 1.906 kB / 4.443 GB, free: 68.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.148e-05/14.83, allocations: 17.62 kB / 4.443 GB, free: 68.9 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007299/14.83, allocations: 1.583 MB / 4.445 GB, free: 68.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/14.83, allocations: 8.75 kB / 4.445 GB, free: 68.28 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/14.83, allocations: 100.3 kB / 4.445 GB, free: 68.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/14.84, allocations: 87.59 kB / 4.445 GB, free: 68.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/14.84, allocations: 0.5456 MB / 4.446 GB, free: 67.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/14.84, allocations: 103 kB / 4.446 GB, free: 67.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/14.84, allocations: 49.77 kB / 4.446 GB, free: 67.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/14.84, allocations: 0.7994 MB / 4.447 GB, free: 67.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/14.84, allocations: 1.594 kB / 4.447 GB, free: 67.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/14.84, allocations: 24 kB / 4.447 GB, free: 67.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.592e-05/14.84, allocations: 40.31 kB / 4.447 GB, free: 67.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/14.84, allocations: 0.6193 MB / 4.447 GB, free: 67.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007158/14.85, allocations: 3.904 MB / 4.451 GB, free: 65.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/14.85, allocations: 387.2 kB / 4.451 GB, free: 65.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/14.85, allocations: 192.1 kB / 4.452 GB, free: 65.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/14.85, allocations: 0.5036 MB / 4.452 GB, free: 64.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/14.85, allocations: 38.3 kB / 4.452 GB, free: 64.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.426e-06/14.85, allocations: 0 / 4.452 GB, free: 64.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.004528/14.86, allocations: 1.323 MB / 4.453 GB, free: 64.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/14.86, allocations: 134.1 kB / 4.454 GB, free: 64.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/14.86, allocations: 485.5 kB / 4.454 GB, free: 63.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/14.86, allocations: 35.2 kB / 4.454 GB, free: 63.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/14.86, allocations: 405.3 kB / 4.454 GB, free: 63.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/14.86, allocations: 161.7 kB / 4.455 GB, free: 63.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/14.86, allocations: 15.22 kB / 4.455 GB, free: 63.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/14.86, allocations: 344 kB / 4.455 GB, free: 63.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/14.86, allocations: 214.1 kB / 4.455 GB, free: 63.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/14.86, allocations: 0.5252 MB / 4.456 GB, free: 62.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/14.86, allocations: 313.3 kB / 4.456 GB, free: 62.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/14.86, allocations: 2.938 kB / 4.456 GB, free: 62.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002734/14.86, allocations: 0.9241 MB / 4.457 GB, free: 62.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/14.86, allocations: 6.875 kB / 4.457 GB, free: 62.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/14.86, allocations: 11.62 kB / 4.457 GB, free: 62.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/14.86, allocations: 253.9 kB / 4.457 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/14.86, allocations: 135.9 kB / 4.457 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/14.87, allocations: 0.8436 MB / 4.458 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/14.87, allocations: 51.27 kB / 4.458 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/14.87, allocations: 37.47 kB / 4.458 GB, free: 62.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000237/14.87, allocations: 162.4 kB / 4.458 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/14.87, allocations: 65.97 kB / 4.458 GB, free: 62.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/14.87, allocations: 0.6851 MB / 4.459 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/14.87, allocations: 7.828 kB / 4.459 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/14.87, allocations: 0.5625 kB / 4.459 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/14.87, allocations: 5.406 kB / 4.459 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/14.87, allocations: 1.366 MB / 4.46 GB, free: 61.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/14.87, allocations: 0 / 4.46 GB, free: 61.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/14.87, allocations: 194.4 kB / 4.461 GB, free: 61.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/14.87, allocations: 51.5 kB / 4.461 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/14.87, allocations: 22.17 kB / 4.461 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/14.88, allocations: 2.78 MB / 4.463 GB, free: 58.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/14.88, allocations: 6.469 kB / 4.463 GB, free: 58.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/14.88, allocations: 1.031 MB / 4.464 GB, free: 58.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/14.88, allocations: 204.8 kB / 4.465 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/14.88, allocations: 9.406 kB / 4.465 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/14.88, allocations: 26.84 kB / 4.465 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/14.88, allocations: 42.12 kB / 4.465 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/14.88, allocations: 20.14 kB / 4.465 GB, free: 58.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006463/14.88, allocations: 377.1 kB / 4.465 GB, free: 58.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.3e-07/14.88, allocations: 0 / 4.465 GB, free: 58.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001484/14.88, allocations: 245.9 kB / 4.465 GB, free: 58.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003253/14.89, allocations: 2.348 MB / 4.468 GB, free: 57.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/14.89, allocations: 0.5905 MB / 4.468 GB, free: 57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/14.89, allocations: 0 / 4.468 GB, free: 57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/14.89, allocations: 447.5 kB / 4.469 GB, free: 56.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/14.89, allocations: 314.8 kB / 4.469 GB, free: 56.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/14.9, allocations: 1.228 MB / 4.47 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/14.9, allocations: 0.9507 MB / 4.471 GB, free: 55.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/14.9, allocations: 238.3 kB / 4.471 GB, free: 55.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/14.9, allocations: 0 / 4.471 GB, free: 55.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.067/17.96, allocations: 18.52 MB / 4.489 GB, free: 55.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat