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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.078e-05, allocations: 8 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3871, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.5859, allocations: 87.54 MB / 445.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/0.5864, allocations: 95.92 kB / 445.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06021/0.6466, allocations: 14.19 MB / 460 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6467, allocations: 0 / 460 MB, free: 8.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.6467, allocations: 4 kB / 460 MB, free: 8.668 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001337/0.648, allocations: 0.6272 MB / 460.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.6481, allocations: 15.97 kB / 460.6 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.6483, allocations: 51.38 kB / 460.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.6488, allocations: 295.7 kB / 461 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.6489, allocations: 16 kB / 461 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.649, allocations: 32 kB / 461 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/0.6501, allocations: 422.3 kB / 461.4 MB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6514, allocations: 0.5504 MB / 462 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.6514, allocations: 0 / 462 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/0.6515, allocations: 3.953 kB / 462 MB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/0.6516, allocations: 37.3 kB / 462 MB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.6553, allocations: 1.245 MB / 463.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.6567, allocations: 446 kB / 463.7 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.6571, allocations: 133.2 kB / 463.8 MB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/0.6572, allocations: 19.88 kB / 463.8 MB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.6573, allocations: 38.55 kB / 463.9 MB, free: 4.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 5.411e-06/0.6573, allocations: 3.984 kB / 463.9 MB, free: 4.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001062/0.6583, allocations: 333.2 kB / 464.2 MB, free: 4.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.6584, allocations: 59.41 kB / 464.3 MB, free: 4.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.6587, allocations: 189.7 kB / 464.4 MB, free: 4.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.6587, allocations: 29.64 kB / 464.5 MB, free: 3.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.659, allocations: 305.9 kB / 464.8 MB, free: 3.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6591, allocations: 86.75 kB / 464.9 MB, free: 3.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.6592, allocations: 0 / 464.9 MB, free: 3.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6593, allocations: 322.8 kB / 465.2 MB, free: 3.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.6597, allocations: 144.2 kB / 465.3 MB, free: 3.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.6602, allocations: 248.2 kB / 465.6 MB, free: 2.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.6608, allocations: 185.2 kB / 465.7 MB, free: 2.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6608, allocations: 0 / 465.7 MB, free: 2.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001235/0.662, allocations: 451 kB / 466.2 MB, free: 2.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.6621, allocations: 8 kB / 466.2 MB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.6622, allocations: 39.97 kB / 466.2 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.6622, allocations: 7.984 kB / 466.2 MB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.6626, allocations: 43.86 kB / 466.3 MB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.6626, allocations: 7.938 kB / 466.3 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.663, allocations: 20.23 kB / 466.3 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.6631, allocations: 20 kB / 466.3 MB, free: 2.066 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002305/0.6633, allocations: 124.8 kB / 466.4 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000976/0.6643, allocations: 341.3 kB / 466.8 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.6644, allocations: 15.81 kB / 466.8 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.666, allocations: 0.5029 MB / 467.3 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.666, allocations: 4 kB / 467.3 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.666, allocations: 4 kB / 467.3 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6661, allocations: 3.938 kB / 467.3 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009461/0.667, allocations: 381.8 kB / 467.7 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001309/0.6672, allocations: 35.97 kB / 467.7 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.6675, allocations: 23.98 kB / 467.7 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.6675, allocations: 7.953 kB / 467.7 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.6676, allocations: 7.984 kB / 467.8 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.6676, allocations: 4 kB / 467.8 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6676, allocations: 4 kB / 467.8 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3115/0.9791, allocations: 0.6544 MB / 468.4 MB, free: 98.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.9793, allocations: 100.4 kB / 468.5 MB, free: 98.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.9794, allocations: 3.906 kB / 468.5 MB, free: 98.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.9797, allocations: 2.047 kB / 468.5 MB, free: 98.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.9798, allocations: 24.42 kB / 468.5 MB, free: 98.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.9799, allocations: 14.7 kB / 468.6 MB, free: 98.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.9801, allocations: 144.1 kB / 468.7 MB, free: 98.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.9801, allocations: 0 / 468.7 MB, free: 98.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001024/0.9811, allocations: 171.9 kB / 468.9 MB, free: 98.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002635/0.9838, allocations: 1.31 MB / 470.2 MB, free: 98.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.9853, allocations: 0.6496 MB / 470.8 MB, free: 97.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.9853, allocations: 0.5312 kB / 470.8 MB, free: 97.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.9859, allocations: 481.8 kB / 471.3 MB, free: 97.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.9863, allocations: 17.39 kB / 471.3 MB, free: 97.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.9897, allocations: 0.9089 MB / 472.2 MB, free: 97.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.9903, allocations: 0.8842 MB / 473.1 MB, free: 96.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.9906, allocations: 131.2 kB / 473.2 MB, free: 96.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.9906, allocations: 0 / 473.2 MB, free: 96.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/3.67, allocations: 8.758 MB / 482 MB, free: 95.48 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_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat