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_evenGapOverall_KC.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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.73e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3426, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5068, allocations: 91.89 MB / 450 MB, free: 2.844 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004178/0.5073, allocations: 99.92 kB / 450.1 MB, free: 2.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3897/0.897, allocations: 20.03 MB / 470.2 MB, free: 96.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.897, allocations: 1.375 kB / 470.2 MB, free: 96.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.8971, allocations: 5.5 kB / 470.2 MB, free: 96.6 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001544/0.8986, allocations: 0.6721 MB / 470.8 MB, free: 96.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.8987, allocations: 9.25 kB / 470.8 MB, free: 96.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.8989, allocations: 57.39 kB / 470.9 MB, free: 96.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.8996, allocations: 305.1 kB / 471.2 MB, free: 95.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.8997, allocations: 20.75 kB / 471.2 MB, free: 95.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.8998, allocations: 29.28 kB / 471.3 MB, free: 95.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001596/0.9014, allocations: 0.6236 MB / 471.9 MB, free: 95.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.9029, allocations: 0.5897 MB / 472.5 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.903, allocations: 0 / 472.5 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.903, allocations: 0 / 472.5 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.9032, allocations: 49.11 kB / 472.5 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.9069, allocations: 1.304 MB / 473.8 MB, free: 95.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.9082, allocations: 0.5078 MB / 474.3 MB, free: 95.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.9086, allocations: 160.3 kB / 474.5 MB, free: 95.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.9087, allocations: 13.61 kB / 474.5 MB, free: 95.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.9088, allocations: 38.56 kB / 474.5 MB, free: 95.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 4.077e-06/0.9088, allocations: 1.375 kB / 474.5 MB, free: 95.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.001205/0.91, allocations: 396.9 kB / 474.9 MB, free: 95.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.9101, allocations: 58.94 kB / 475 MB, free: 95.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.9104, allocations: 197.1 kB / 475.2 MB, free: 95.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.9104, allocations: 25.7 kB / 475.2 MB, free: 95.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.9106, allocations: 318.4 kB / 475.5 MB, free: 94.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.9107, allocations: 122.3 kB / 475.6 MB, free: 94.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.9108, allocations: 0.6875 kB / 475.6 MB, free: 94.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.9109, allocations: 330.7 kB / 475.9 MB, free: 94.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.9113, allocations: 167 kB / 476.1 MB, free: 94.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.9118, allocations: 303 kB / 476.4 MB, free: 94.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.9123, allocations: 224.4 kB / 476.6 MB, free: 94.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.9123, allocations: 3.188 kB / 476.6 MB, free: 94.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001233/0.9136, allocations: 0.4964 MB / 477.1 MB, free: 94.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.9136, allocations: 3.969 kB / 477.1 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.9137, allocations: 3.969 kB / 477.1 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.9137, allocations: 7.812 kB / 477.1 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.9157, allocations: 229.2 kB / 477.4 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.9194, allocations: 7.341 MB / 484.7 MB, free: 87.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/0.9201, allocations: 33.08 kB / 484.7 MB, free: 87.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.9202, allocations: 27.22 kB / 484.8 MB, free: 87.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 43 * 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.0002335/0.9205, allocations: 133.8 kB / 484.9 MB, free: 87.24 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001069/0.9215, allocations: 411.5 kB / 485.3 MB, free: 87.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.9217, allocations: 25.47 kB / 485.3 MB, free: 87.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.9232, allocations: 0.5402 MB / 485.9 MB, free: 87.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.9233, allocations: 7.734 kB / 485.9 MB, free: 87.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.9233, allocations: 0 / 485.9 MB, free: 87.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.9233, allocations: 0 / 485.9 MB, free: 87.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000793/0.9241, allocations: 402.7 kB / 486.3 MB, free: 86.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9241, allocations: 0 / 486.3 MB, free: 86.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/0.926, allocations: 209.2 kB / 486.5 MB, free: 86.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.926, allocations: 0 / 486.5 MB, free: 86.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.9261, allocations: 11.31 kB / 486.5 MB, free: 86.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.9295, allocations: 7.335 MB / 493.8 MB, free: 79.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.9296, allocations: 0 / 493.8 MB, free: 79.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.9307, allocations: 0.5137 MB / 494.3 MB, free: 79.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.9308, allocations: 100.3 kB / 494.4 MB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.9308, allocations: 0 / 494.4 MB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.9313, allocations: 11.38 kB / 494.4 MB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.9314, allocations: 32.66 kB / 494.5 MB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.9315, allocations: 17.27 kB / 494.5 MB, free: 79.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.9316, allocations: 146.3 kB / 494.6 MB, free: 79.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9316, allocations: 0 / 494.6 MB, free: 79.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009422/0.9326, allocations: 193.6 kB / 494.8 MB, free: 79.48 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * 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.001703/0.9343, allocations: 1.209 MB / 496 MB, free: 78.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.9365, allocations: 0.5111 MB / 496.5 MB, free: 78.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9366, allocations: 0 / 496.5 MB, free: 78.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.9382, allocations: 312.8 kB / 496.8 MB, free: 78.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.9386, allocations: 31.77 kB / 496.9 MB, free: 78.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.9411, allocations: 0.8378 MB / 497.7 MB, free: 78.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.9415, allocations: 0.903 MB / 498.6 MB, free: 77.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.9418, allocations: 141 kB / 498.8 MB, free: 77.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.9418, allocations: 0 / 498.8 MB, free: 77.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.727/4.669, allocations: 30.09 MB / 0.5164 GB, free: 50.31 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_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat