Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.96e-05, allocations: 11.98 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3696, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.5257, allocations: 86.26 MB / 444.4 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.5261, allocations: 91.88 kB / 444.5 MB, free: 8.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04479/0.5709, allocations: 9.594 MB / 454.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.571, allocations: 0 / 454.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.571, allocations: 8 kB / 454.1 MB, free: 14.72 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001153/0.5722, allocations: 0.4999 MB / 454.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5722, allocations: 8.031 kB / 454.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.5723, allocations: 27.66 kB / 454.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.5727, allocations: 230.6 kB / 454.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.5728, allocations: 4 kB / 454.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.5728, allocations: 15.98 kB / 454.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004034/0.5732, allocations: 135.9 kB / 455 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.5737, allocations: 232.7 kB / 455.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5738, allocations: 3.953 kB / 455.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.5738, allocations: 0 / 455.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.5739, allocations: 11.98 kB / 455.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.5754, allocations: 0.7117 MB / 456 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.576, allocations: 199.7 kB / 456.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.5763, allocations: 74.53 kB / 456.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.5763, allocations: 0 / 456.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.5764, allocations: 34.56 kB / 456.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.495e-06/0.5764, allocations: 0 / 456.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005773/0.577, allocations: 161.5 kB / 456.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.577, allocations: 106.8 kB / 456.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.5773, allocations: 157.7 kB / 456.7 MB, free: 11.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.5773, allocations: 29.7 kB / 456.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5775, allocations: 210.6 kB / 456.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.5775, allocations: 51.23 kB / 457 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.5776, allocations: 0 / 457 MB, free: 11.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5777, allocations: 322.8 kB / 457.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.5779, allocations: 52.03 kB / 457.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.5781, allocations: 90.52 kB / 457.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.5783, allocations: 67.94 kB / 457.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5783, allocations: 0 / 457.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005345/0.5789, allocations: 185.3 kB / 457.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5789, allocations: 8 kB / 457.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/0.579, allocations: 11.98 kB / 457.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.579, allocations: 0 / 457.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.5794, allocations: 43.91 kB / 457.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5795, allocations: 8.156 kB / 457.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.5798, allocations: 27.91 kB / 457.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.5799, allocations: 8 kB / 457.8 MB, free: 10.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.58, allocations: 113 kB / 457.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005061/0.5805, allocations: 177.1 kB / 458.1 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.5806, allocations: 15.88 kB / 458.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.5812, allocations: 187.5 kB / 458.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5812, allocations: 4 kB / 458.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.5812, allocations: 3.984 kB / 458.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5812, allocations: 0 / 458.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.5818, allocations: 238.1 kB / 458.5 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.801e-05/0.5819, allocations: 8 kB / 458.5 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.5822, allocations: 39.95 kB / 458.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.5822, allocations: 0 / 458.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.5823, allocations: 7.938 kB / 458.6 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5823, allocations: 3.938 kB / 458.6 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.5823, allocations: 4 kB / 458.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.5829, allocations: 437.2 kB / 459 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.583, allocations: 92.86 kB / 459.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.583, allocations: 0 / 459.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.5835, allocations: 23.97 kB / 459.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.5836, allocations: 15.98 kB / 459.1 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.5836, allocations: 8 kB / 459.1 MB, free: 9.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.5838, allocations: 132.3 kB / 459.3 MB, free: 9.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5838, allocations: 7.938 kB / 459.3 MB, free: 9.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006712/0.5845, allocations: 75.78 kB / 459.3 MB, free: 9.102 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.5858, allocations: 1.175 MB / 460.5 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.5863, allocations: 216.9 kB / 460.7 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5864, allocations: 0 / 460.7 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.5867, allocations: 157.6 kB / 460.9 MB, free: 7.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.5872, allocations: 37.25 kB / 460.9 MB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.5886, allocations: 398.1 kB / 461.3 MB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.5891, allocations: 0.7626 MB / 462.1 MB, free: 6.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.5893, allocations: 63.41 kB / 462.1 MB, free: 6.156 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5893, allocations: 0 / 462.1 MB, free: 6.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.685/3.274, allocations: 4.412 MB / 466.5 MB, free: 1.75 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat