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_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006116/0.0006117, allocations: 8 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4309, allocations: 48.7 MB / 331.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.5874, allocations: 86.22 MB / 417.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004025/0.5878, allocations: 99.94 kB / 417.7 MB, free: 8.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.6946, allocations: 20.23 MB / 437.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.6946, allocations: 0 / 437.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.6947, allocations: 4 kB / 437.9 MB, free: 3.621 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.002107/0.6968, allocations: 0.6863 MB / 438.6 MB, free: 2.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.6969, allocations: 8.031 kB / 438.6 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.6971, allocations: 102.5 kB / 438.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.6973, allocations: 51.34 kB / 438.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.6982, allocations: 310.8 kB / 439.1 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.6983, allocations: 37.31 kB / 439.1 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.6985, allocations: 55.92 kB / 439.2 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.7014, allocations: 0.6934 MB / 439.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.7015, allocations: 0 / 439.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.7016, allocations: 20 kB / 439.9 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.7018, allocations: 41.28 kB / 439.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.7047, allocations: 0.7506 MB / 440.7 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005573/0.7103, allocations: 1.469 MB / 442.2 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.7123, allocations: 444.4 kB / 442.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.191e-05/0.7124, allocations: 16.2 kB / 442.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.7125, allocations: 42.75 kB / 442.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 4.188e-06/0.7125, allocations: 0 / 442.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002999/0.7155, allocations: 0.5413 MB / 443.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.7157, allocations: 59.41 kB / 443.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.7172, allocations: 484.8 kB / 443.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.7173, allocations: 29.7 kB / 443.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.7176, allocations: 282.6 kB / 444 MB, free: 13.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.7179, allocations: 98.58 kB / 444.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.718, allocations: 8 kB / 444.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.7182, allocations: 330.9 kB / 444.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009268/0.7191, allocations: 172.5 kB / 444.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7203, allocations: 289.6 kB / 444.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7214, allocations: 219.7 kB / 445.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.7214, allocations: 0 / 445.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002361/0.7238, allocations: 0.5094 MB / 445.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.7239, allocations: 11.95 kB / 445.6 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.7239, allocations: 8 kB / 445.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.724, allocations: 8 kB / 445.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.7265, allocations: 216.3 kB / 445.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.7339, allocations: 7.31 MB / 453.2 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009463/0.7349, allocations: 67.64 kB / 453.2 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/0.735, allocations: 27.98 kB / 453.3 MB, free: 3.723 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 34 * 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.0006306/0.7357, allocations: 233.5 kB / 453.5 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.7359, allocations: 47.39 kB / 453.5 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.7379, allocations: 0.5525 MB / 454.1 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.738, allocations: 4 kB / 454.1 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.738, allocations: 0 / 454.1 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.738, allocations: 0 / 454.1 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.7392, allocations: 429.1 kB / 454.5 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7393, allocations: 4 kB / 454.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002595/0.7419, allocations: 191.8 kB / 454.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.742, allocations: 7.953 kB / 454.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/0.7421, allocations: 11.98 kB / 454.7 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008111/0.7502, allocations: 7.302 MB / 462 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.7503, allocations: 3.984 kB / 462 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.7529, allocations: 0.4995 MB / 462.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.7533, allocations: 128.5 kB / 462.7 MB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.7535, allocations: 4 kB / 462.7 MB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.7542, allocations: 15.98 kB / 462.7 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.7544, allocations: 31.89 kB / 462.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.7545, allocations: 11.98 kB / 462.7 MB, free: 9.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.7556, allocations: 391 kB / 463.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.7557, allocations: 0 / 463.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001649/0.7573, allocations: 175.8 kB / 463.3 MB, free: 9.328 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 () * 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.002735/0.7601, allocations: 1.225 MB / 464.5 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.763, allocations: 0.5083 MB / 465 MB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.763, allocations: 0 / 465 MB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.7649, allocations: 303.6 kB / 465.3 MB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.7657, allocations: 89.84 kB / 465.4 MB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.7747, allocations: 5.965 MB / 471.4 MB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.7754, allocations: 0.8936 MB / 472.2 MB, free: 172 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.7758, allocations: 147.3 kB / 472.4 MB, free: 24 kB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7758, allocations: 0 / 472.4 MB, free: 24 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.786/4.562, allocations: 31.64 MB / 0.4922 GB, free: 103.7 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_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat