Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.2 MB / 224.8 MB, free: 0.6328 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004517, allocations: 8 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3938, allocations: 48.7 MB / 331.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.5371, allocations: 82.03 MB / 413.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004018/0.5375, allocations: 95.94 kB / 413.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06295/0.6005, allocations: 14.04 MB / 427.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6005, allocations: 0 / 427.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.6006, allocations: 8 kB / 427.5 MB, free: 14 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001535/0.6021, allocations: 0.6475 MB / 428.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.6022, allocations: 8.031 kB / 428.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.6024, allocations: 106.5 kB / 428.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.6025, allocations: 51.34 kB / 428.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.6031, allocations: 306 kB / 428.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.6032, allocations: 37.31 kB / 428.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6033, allocations: 59.98 kB / 428.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.6051, allocations: 0.6896 MB / 429.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.6052, allocations: 0 / 429.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.6052, allocations: 20 kB / 429.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-05/0.6053, allocations: 37.3 kB / 429.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.6073, allocations: 0.7583 MB / 430.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.611, allocations: 1.461 MB / 431.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6125, allocations: 456.4 kB / 432.2 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.6126, allocations: 20.2 kB / 432.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.6126, allocations: 38.75 kB / 432.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.346e-06/0.6126, allocations: 0 / 432.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001977/0.6146, allocations: 0.549 MB / 432.8 MB, free: 8.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.6147, allocations: 55.41 kB / 432.8 MB, free: 8.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.6156, allocations: 484.9 kB / 433.3 MB, free: 8.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.6157, allocations: 29.7 kB / 433.3 MB, free: 8.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.6159, allocations: 266.8 kB / 433.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.6161, allocations: 102.6 kB / 433.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.6161, allocations: 4 kB / 433.7 MB, free: 7.645 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6163, allocations: 330.8 kB / 434 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.6169, allocations: 152.5 kB / 434.2 MB, free: 7.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.6175, allocations: 252.2 kB / 434.4 MB, free: 6.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.6182, allocations: 199.8 kB / 434.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6182, allocations: 0 / 434.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001507/0.6197, allocations: 473.9 kB / 435.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6198, allocations: 4 kB / 435.1 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6198, allocations: 4 kB / 435.1 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.6198, allocations: 8.328 kB / 435.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.6217, allocations: 211.7 kB / 435.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/0.6274, allocations: 7.318 MB / 442.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.6281, allocations: 63.27 kB / 442.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.6282, allocations: 19.98 kB / 442.7 MB, free: 14.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004504/0.6287, allocations: 225.6 kB / 442.9 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6288, allocations: 43.48 kB / 443 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.6307, allocations: 0.5526 MB / 443.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6308, allocations: 0 / 443.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6308, allocations: 0 / 443.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.6308, allocations: 7.984 kB / 443.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008943/0.6317, allocations: 429.1 kB / 443.9 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6317, allocations: 0 / 443.9 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.6334, allocations: 207.8 kB / 444.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.6335, allocations: 0 / 444.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.6335, allocations: 19.94 kB / 444.2 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005566/0.6391, allocations: 7.314 MB / 451.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.6392, allocations: 112 / 451.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.6406, allocations: 0.5033 MB / 452 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.6409, allocations: 124.5 kB / 452.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.641, allocations: 11.95 kB / 452.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.6414, allocations: 15.98 kB / 452.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.6416, allocations: 27.95 kB / 452.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.6416, allocations: 8 kB / 452.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007434/0.6424, allocations: 387 kB / 452.5 MB, free: 4.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.906e-06/0.6424, allocations: 4 kB / 452.5 MB, free: 4.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007964/0.6432, allocations: 143.8 kB / 452.7 MB, free: 3.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002163/0.6454, allocations: 1.144 MB / 453.8 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.648, allocations: 496.2 kB / 454.3 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.648, allocations: 4 kB / 454.3 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.6499, allocations: 307.5 kB / 454.6 MB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.6506, allocations: 89.84 kB / 454.7 MB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008492/0.6591, allocations: 5.022 MB / 459.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.6598, allocations: 0.8974 MB / 460.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.6602, allocations: 147.4 kB / 460.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6602, allocations: 0 / 460.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.721/4.381, allocations: 30.88 MB / 491.6 MB, free: 114.2 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat