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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.684e-05, allocations: 0 / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4113, allocations: 54.86 MB / 364.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.6001, allocations: 88.29 MB / 452.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.6005, allocations: 87.94 kB / 453 MB, free: 8.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06224/0.6628, allocations: 14.07 MB / 467.1 MB, free: 9.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6628, allocations: 0 / 467.1 MB, free: 9.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.6629, allocations: 8 kB / 467.1 MB, free: 9.762 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.001453/0.6643, allocations: 0.6317 MB / 467.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.6644, allocations: 11.97 kB / 467.7 MB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.6646, allocations: 106.5 kB / 467.8 MB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.6648, allocations: 55.3 kB / 467.9 MB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.6654, allocations: 302.8 kB / 468.2 MB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.6655, allocations: 41.3 kB / 468.2 MB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6656, allocations: 48 kB / 468.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.6673, allocations: 0.6701 MB / 469 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.6673, allocations: 0 / 469 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.6674, allocations: 24 kB / 469 MB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.21e-05/0.6675, allocations: 37.3 kB / 469 MB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.6692, allocations: 0.7194 MB / 469.7 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.6731, allocations: 1.453 MB / 471.2 MB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.6744, allocations: 436.4 kB / 471.6 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.6748, allocations: 145.2 kB / 471.8 MB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.6749, allocations: 16.2 kB / 471.8 MB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.6749, allocations: 34.8 kB / 471.8 MB, free: 4.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/0.6749, allocations: 0 / 471.8 MB, free: 4.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001183/0.6761, allocations: 374.1 kB / 472.2 MB, free: 4.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.6762, allocations: 59.34 kB / 472.2 MB, free: 4.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.6771, allocations: 479 kB / 472.7 MB, free: 3.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.6772, allocations: 33.7 kB / 472.7 MB, free: 3.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6774, allocations: 274.6 kB / 473 MB, free: 3.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6776, allocations: 94.64 kB / 473.1 MB, free: 3.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.6777, allocations: 4 kB / 473.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6778, allocations: 334.8 kB / 473.4 MB, free: 3.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.6783, allocations: 136.5 kB / 473.6 MB, free: 3.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.6788, allocations: 228.3 kB / 473.8 MB, free: 2.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.6793, allocations: 179.8 kB / 473.9 MB, free: 2.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6793, allocations: 4 kB / 474 MB, free: 2.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001254/0.6806, allocations: 441.4 kB / 474.4 MB, free: 2.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6806, allocations: 4 kB / 474.4 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.6807, allocations: 4 kB / 474.4 MB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.6807, allocations: 4 kB / 474.4 MB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.6826, allocations: 207.7 kB / 474.6 MB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.6883, allocations: 7.313 MB / 481.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.689, allocations: 63.3 kB / 482 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.6891, allocations: 23.98 kB / 482 MB, free: 10.31 MB / 410.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 () * 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.0002149/0.6894, allocations: 149.4 kB / 482.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.6895, allocations: 43.44 kB / 482.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.6911, allocations: 0.5095 MB / 482.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6912, allocations: 0 / 482.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6912, allocations: 0 / 482.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6912, allocations: 7.984 kB / 482.7 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.6922, allocations: 425.2 kB / 483.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6922, allocations: 3.984 kB / 483.1 MB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.694, allocations: 195.8 kB / 483.3 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.694, allocations: 4 kB / 483.3 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.6941, allocations: 15.98 kB / 483.3 MB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/0.6997, allocations: 7.306 MB / 490.6 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6998, allocations: 288 / 490.6 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.701, allocations: 479.9 kB / 491.1 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.7013, allocations: 124.5 kB / 491.2 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.7014, allocations: 8 kB / 491.2 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.702, allocations: 11.98 kB / 491.2 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.7021, allocations: 35.89 kB / 491.3 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.7022, allocations: 11.98 kB / 491.3 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009967/0.7032, allocations: 385.1 kB / 491.7 MB, free: 264 kB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.7033, allocations: 4 kB / 491.7 MB, free: 260 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.00123/0.7045, allocations: 139.8 kB / 491.8 MB, free: 120 kB / 410.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 (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.002644/0.7072, allocations: 1.106 MB / 492.9 MB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00324/0.7105, allocations: 464.2 kB / 493.4 MB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.7106, allocations: 3.938 kB / 493.4 MB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.7129, allocations: 283.7 kB / 493.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.714, allocations: 88.41 kB / 493.7 MB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.7177, allocations: 0.8452 MB / 494.6 MB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/0.7187, allocations: 0.9014 MB / 495.5 MB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.7192, allocations: 139.4 kB / 495.6 MB, free: 12.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7192, allocations: 0 / 495.6 MB, free: 12.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.799/4.518, allocations: 30.67 MB / 0.514 GB, free: 13.51 MB / 458.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_KC_res.mat does not exist to compare? outputFormat=mat