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/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.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.593/2.593, allocations: 235 MB / 248 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.186e-05, allocations: 4 kB / 309.8 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4108, allocations: 54.85 MB / 364.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5735, allocations: 88.21 MB / 452.9 MB, free: 8.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/0.5739, allocations: 91.94 kB / 452.9 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06094/0.6349, allocations: 14.37 MB / 467.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.635, allocations: 0 / 467.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.635, allocations: 12 kB / 467.3 MB, free: 9.512 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.001266/0.6363, allocations: 0.6233 MB / 467.9 MB, free: 8.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.6364, allocations: 17.19 kB / 468 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.6366, allocations: 102.5 kB / 468.1 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.6367, allocations: 47.44 kB / 468.1 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.6373, allocations: 294.3 kB / 468.4 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.6374, allocations: 37.3 kB / 468.4 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.6376, allocations: 48 kB / 468.5 MB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.6391, allocations: 0.6233 MB / 469.1 MB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.6392, allocations: 4 kB / 469.1 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.6393, allocations: 23.98 kB / 469.1 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.578e-05/0.6394, allocations: 37.25 kB / 469.2 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.6407, allocations: 0.493 MB / 469.7 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.6448, allocations: 1.435 MB / 471.1 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.6465, allocations: 458.5 kB / 471.5 MB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/0.647, allocations: 148.7 kB / 471.7 MB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.411e-05/0.6471, allocations: 15.94 kB / 471.7 MB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.6471, allocations: 34.56 kB / 471.7 MB, free: 4.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 5.13e-06/0.6471, allocations: 4 kB / 471.7 MB, free: 4.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001257/0.6484, allocations: 373.3 kB / 472.1 MB, free: 4.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6485, allocations: 55.41 kB / 472.2 MB, free: 4.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.6495, allocations: 491 kB / 472.6 MB, free: 3.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.6495, allocations: 29.7 kB / 472.7 MB, free: 3.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.6498, allocations: 262.6 kB / 472.9 MB, free: 3.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.6499, allocations: 86.75 kB / 473 MB, free: 3.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.65, allocations: 4 kB / 473 MB, free: 3.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6501, allocations: 334.8 kB / 473.3 MB, free: 3.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.6506, allocations: 148.2 kB / 473.5 MB, free: 3.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.6512, allocations: 248.6 kB / 473.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.6518, allocations: 201.1 kB / 473.9 MB, free: 2.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.6518, allocations: 3.953 kB / 473.9 MB, free: 2.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001424/0.6533, allocations: 475 kB / 474.4 MB, free: 2.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.6533, allocations: 4.406 kB / 474.4 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.6535, allocations: 51.91 kB / 474.4 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.6535, allocations: 4 kB / 474.4 MB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.6539, allocations: 39.91 kB / 474.5 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.6539, allocations: 4 kB / 474.5 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.6544, allocations: 51.38 kB / 474.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.6545, allocations: 27.98 kB / 474.6 MB, free: 1.992 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.0002551/0.6548, allocations: 140.8 kB / 474.7 MB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.6549, allocations: 47.39 kB / 474.8 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.6568, allocations: 0.5281 MB / 475.3 MB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6568, allocations: 4 kB / 475.3 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6568, allocations: 0 / 475.3 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.6568, allocations: 3.984 kB / 475.3 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.658, allocations: 425.2 kB / 475.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001206/0.6581, allocations: 35.95 kB / 475.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.6585, allocations: 35.88 kB / 475.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.6585, allocations: 4 kB / 475.8 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.6586, allocations: 12 kB / 475.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.6586, allocations: 0 / 475.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6586, allocations: 8 kB / 475.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.6605, allocations: 0.695 MB / 476.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.6608, allocations: 132.5 kB / 476.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.6609, allocations: 7.953 kB / 476.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.6613, allocations: 12.06 kB / 476.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.6614, allocations: 19.97 kB / 476.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.6615, allocations: 16 kB / 476.7 MB, free: 15.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007527/0.6623, allocations: 389.1 kB / 477.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6623, allocations: 4 kB / 477.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008915/0.6632, allocations: 163.8 kB / 477.2 MB, free: 15.24 MB / 410.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.002701/0.6659, allocations: 1.364 MB / 478.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.6673, allocations: 0.6687 MB / 479.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6674, allocations: 0 / 479.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000709/0.6681, allocations: 488.7 kB / 479.7 MB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.6688, allocations: 79.28 kB / 479.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.6724, allocations: 0.9836 MB / 480.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.673, allocations: 0.8821 MB / 481.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.6734, allocations: 135.4 kB / 481.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6734, allocations: 4 kB / 481.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.954/3.627, allocations: 10.63 MB / 492.4 MB, free: 15.79 MB / 426.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