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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.861e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.363, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.5541, allocations: 92.43 MB / 450.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/0.5546, allocations: 95.92 kB / 450.7 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.425/0.9795, allocations: 21.02 MB / 471.7 MB, free: 97.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.9796, allocations: 0 / 471.7 MB, free: 97.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.9796, allocations: 5.781 kB / 471.7 MB, free: 97.96 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00155/0.9812, allocations: 0.7077 MB / 472.4 MB, free: 97.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.9812, allocations: 9.969 kB / 472.4 MB, free: 97.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.9814, allocations: 55.94 kB / 472.5 MB, free: 97.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.982, allocations: 306.3 kB / 472.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.982, allocations: 16.56 kB / 472.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.9821, allocations: 27.91 kB / 472.8 MB, free: 97.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009727/0.9831, allocations: 402 kB / 473.2 MB, free: 97.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.9845, allocations: 0.592 MB / 473.8 MB, free: 97.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.9846, allocations: 5.266 kB / 473.8 MB, free: 97.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.9846, allocations: 0 / 473.8 MB, free: 97.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/0.9847, allocations: 24.72 kB / 473.8 MB, free: 97.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.9878, allocations: 1.353 MB / 475.2 MB, free: 96.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.9885, allocations: 278.9 kB / 475.4 MB, free: 96.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.9888, allocations: 124 kB / 475.6 MB, free: 96.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.021e-05/0.9889, allocations: 13.39 kB / 475.6 MB, free: 96.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.9889, allocations: 42.64 kB / 475.6 MB, free: 96.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 4.088e-06/0.989, allocations: 0 / 475.6 MB, free: 96.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009919/0.99, allocations: 292.7 kB / 475.9 MB, free: 96.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.99, allocations: 106.3 kB / 476 MB, free: 96.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.9903, allocations: 202.5 kB / 476.2 MB, free: 96.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.9903, allocations: 25.7 kB / 476.2 MB, free: 96.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.9905, allocations: 313.3 kB / 476.5 MB, free: 96.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.9906, allocations: 76.86 kB / 476.6 MB, free: 95.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.9906, allocations: 0 / 476.6 MB, free: 95.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.9907, allocations: 324.9 kB / 476.9 MB, free: 95.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.991, allocations: 112.4 kB / 477 MB, free: 95.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.9914, allocations: 210.7 kB / 477.2 MB, free: 95.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.9917, allocations: 154.1 kB / 477.4 MB, free: 95.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9918, allocations: 3.969 kB / 477.4 MB, free: 95.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009965/0.9928, allocations: 373.2 kB / 477.8 MB, free: 95.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.9928, allocations: 7.875 kB / 477.8 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.993, allocations: 43.45 kB / 477.8 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.993, allocations: 3.844 kB / 477.8 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.9934, allocations: 43.48 kB / 477.9 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.9934, allocations: 12.25 kB / 477.9 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.9938, allocations: 34.22 kB / 477.9 MB, free: 95.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.9939, allocations: 18.97 kB / 477.9 MB, free: 95.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.0001486/0.994, allocations: 130 kB / 478.1 MB, free: 95.39 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008454/0.9949, allocations: 301.5 kB / 478.3 MB, free: 95.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.995, allocations: 22.84 kB / 478.4 MB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.9962, allocations: 408.2 kB / 478.8 MB, free: 95.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.9962, allocations: 3.469 kB / 478.8 MB, free: 95.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9963, allocations: 4.969 kB / 478.8 MB, free: 95.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.9963, allocations: 3.609 kB / 478.8 MB, free: 95.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.9971, allocations: 360.3 kB / 479.1 MB, free: 95.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001138/0.9972, allocations: 36.75 kB / 479.2 MB, free: 95.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.9975, allocations: 36.2 kB / 479.2 MB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.9976, allocations: 3.938 kB / 479.2 MB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.9976, allocations: 11.12 kB / 479.2 MB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.9976, allocations: 3.688 kB / 479.2 MB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.9976, allocations: 0 / 479.2 MB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.9985, allocations: 0.567 MB / 479.8 MB, free: 94.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.9986, allocations: 96.73 kB / 479.9 MB, free: 94.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.9987, allocations: 7.625 kB / 479.9 MB, free: 94.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.9992, allocations: 27.06 kB / 479.9 MB, free: 94.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.9993, allocations: 22.45 kB / 479.9 MB, free: 94.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.9994, allocations: 15.44 kB / 480 MB, free: 94.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.9995, allocations: 149.5 kB / 480.1 MB, free: 94.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9996, allocations: 3.938 kB / 480.1 MB, free: 94.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001148/1.001, allocations: 203.8 kB / 480.3 MB, free: 94.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * 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.001801/1.003, allocations: 1.42 MB / 481.7 MB, free: 93.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009671/1.004, allocations: 0.5941 MB / 482.3 MB, free: 93.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.004, allocations: 0 / 482.3 MB, free: 93.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/1.004, allocations: 457.7 kB / 482.8 MB, free: 92.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/1.005, allocations: 37.22 kB / 482.8 MB, free: 92.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/1.008, allocations: 0.8049 MB / 483.6 MB, free: 92.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/1.008, allocations: 0.8846 MB / 484.5 MB, free: 91.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/1.008, allocations: 129.6 kB / 484.6 MB, free: 91.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/1.008, allocations: 0 / 484.6 MB, free: 91.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.908/3.916, allocations: 9.361 MB / 494 MB, free: 86.2 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_res.mat does not exist to compare? outputFormat=mat