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.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 8 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3541, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.43/11.78, allocations: 3.668 GB / 4.028 GB, free: 123 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/11.78, allocations: 98.92 kB / 4.028 GB, free: 123 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405/14.19, allocations: 432.6 MB / 4.451 GB, free: 60 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.305e-06/14.19, allocations: 0 / 4.451 GB, free: 60 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.565e-05/14.19, allocations: 23.23 kB / 4.451 GB, free: 60 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01094/14.2, allocations: 2.435 MB / 4.453 GB, free: 58.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/14.2, allocations: 6.75 kB / 4.453 GB, free: 58.87 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007025/14.2, allocations: 130.5 kB / 4.453 GB, free: 58.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/14.2, allocations: 112.1 kB / 4.453 GB, free: 58.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/14.2, allocations: 0.6405 MB / 4.454 GB, free: 58.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/14.2, allocations: 118.6 kB / 4.454 GB, free: 58.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/14.2, allocations: 75.34 kB / 4.454 GB, free: 58.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/14.21, allocations: 1.137 MB / 4.455 GB, free: 58.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/14.21, allocations: 6.531 kB / 4.455 GB, free: 58.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/14.21, allocations: 32.89 kB / 4.455 GB, free: 58.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/14.21, allocations: 57.28 kB / 4.455 GB, free: 58.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004459/14.21, allocations: 1.139 MB / 4.457 GB, free: 58.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/14.22, allocations: 4.647 MB / 4.461 GB, free: 55.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/14.23, allocations: 0.7537 MB / 4.462 GB, free: 55.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/14.23, allocations: 1.572 MB / 4.463 GB, free: 54.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/14.23, allocations: 46.72 kB / 4.463 GB, free: 54.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 4.969e-06/14.23, allocations: 3.375 kB / 4.463 GB, free: 54.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.03174/14.26, allocations: 4.173 MB / 4.467 GB, free: 53.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/14.26, allocations: 118.1 kB / 4.468 GB, free: 53.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/14.26, allocations: 0.5529 MB / 4.468 GB, free: 53.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/14.26, allocations: 44.8 kB / 4.468 GB, free: 53.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/14.26, allocations: 440.3 kB / 4.469 GB, free: 53.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/14.26, allocations: 286.3 kB / 4.469 GB, free: 52.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/14.26, allocations: 20.62 kB / 4.469 GB, free: 52.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/14.26, allocations: 347.7 kB / 4.469 GB, free: 52.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/14.27, allocations: 481.8 kB / 4.47 GB, free: 52.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/14.27, allocations: 0.778 MB / 4.47 GB, free: 52.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/14.27, allocations: 0.5815 MB / 4.471 GB, free: 52.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/14.27, allocations: 3.844 kB / 4.471 GB, free: 52.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007693/14.28, allocations: 1.627 MB / 4.473 GB, free: 52.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/14.28, allocations: 9.875 kB / 4.473 GB, free: 52.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/14.28, allocations: 14.8 kB / 4.473 GB, free: 52.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/14.29, allocations: 1.425 MB / 4.474 GB, free: 52.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/14.29, allocations: 171.2 kB / 4.474 GB, free: 52.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/14.3, allocations: 1.499 MB / 4.476 GB, free: 51.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/14.3, allocations: 95.42 kB / 4.476 GB, free: 51.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/14.3, allocations: 61.28 kB / 4.476 GB, free: 51.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0007446/14.3, allocations: 299.5 kB / 4.476 GB, free: 51.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/14.3, allocations: 83.31 kB / 4.476 GB, free: 51.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/14.31, allocations: 1.611 MB / 4.478 GB, free: 51.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/14.31, allocations: 7.812 kB / 4.478 GB, free: 51.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/14.31, allocations: 2.719 kB / 4.478 GB, free: 51.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/14.31, allocations: 6.609 kB / 4.478 GB, free: 51.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006172/14.31, allocations: 2.449 MB / 4.48 GB, free: 50.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/14.31, allocations: 2.969 kB / 4.48 GB, free: 50.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/14.32, allocations: 260 kB / 4.48 GB, free: 50.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/14.32, allocations: 395.9 kB / 4.481 GB, free: 50.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/14.32, allocations: 33.16 kB / 4.481 GB, free: 50.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/14.32, allocations: 2.285 MB / 4.483 GB, free: 48.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/14.32, allocations: 0 / 4.483 GB, free: 48.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/14.33, allocations: 2.006 MB / 4.485 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006781/14.33, allocations: 283.6 kB / 4.485 GB, free: 48.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/14.33, allocations: 26.8 kB / 4.485 GB, free: 48.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/14.33, allocations: 74.67 kB / 4.485 GB, free: 48.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/14.33, allocations: 64.38 kB / 4.485 GB, free: 48.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/14.33, allocations: 53.31 kB / 4.485 GB, free: 48.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008441/14.33, allocations: 448.4 kB / 4.486 GB, free: 48.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.6e-07/14.33, allocations: 4.656 kB / 4.486 GB, free: 48.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003667/14.33, allocations: 0.825 MB / 4.487 GB, free: 48.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 77 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0111/14.35, allocations: 4.426 MB / 4.491 GB, free: 46.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0042/14.35, allocations: 1.206 MB / 4.492 GB, free: 46.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/14.35, allocations: 3.969 kB / 4.492 GB, free: 46.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/14.35, allocations: 0.6707 MB / 4.493 GB, free: 46.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/14.36, allocations: 438.3 kB / 4.493 GB, free: 46.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/14.38, allocations: 13.05 MB / 4.506 GB, free: 38.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/14.38, allocations: 1.062 MB / 4.507 GB, free: 37.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/14.38, allocations: 345.6 kB / 4.507 GB, free: 37.55 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/14.38, allocations: 0 / 4.507 GB, free: 37.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.776/18.15, allocations: 34.94 MB / 4.541 GB, free: 22.96 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat