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.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,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004373, allocations: 12 kB / 282.7 MB, free: 9.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.357, allocations: 48.7 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5153, allocations: 81.95 MB / 413.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004823/0.5158, allocations: 91.94 kB / 413.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07773/0.5936, allocations: 14.35 MB / 427.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5936, allocations: 0 / 427.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.5937, allocations: 4 kB / 427.8 MB, free: 13.65 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001718/0.5954, allocations: 0.6319 MB / 428.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.5955, allocations: 8.031 kB / 428.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/0.5958, allocations: 98.5 kB / 428.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.596, allocations: 51.38 kB / 428.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.5968, allocations: 294.3 kB / 428.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.5968, allocations: 41.31 kB / 428.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.597, allocations: 48 kB / 428.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.5993, allocations: 0.6271 MB / 429.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.5994, allocations: 3.938 kB / 429.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5995, allocations: 20 kB / 429.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.5997, allocations: 37.3 kB / 429.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.6017, allocations: 0.4969 MB / 430.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005932/0.6077, allocations: 1.457 MB / 431.6 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.6101, allocations: 458 kB / 432 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-05/0.6102, allocations: 11.98 kB / 432 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.6103, allocations: 38.56 kB / 432.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 5.621e-06/0.6103, allocations: 0 / 432.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.002439/0.6128, allocations: 0.4932 MB / 432.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.6129, allocations: 67.33 kB / 432.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.6144, allocations: 492.9 kB / 433.1 MB, free: 8.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.6146, allocations: 33.7 kB / 433.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.6149, allocations: 262.6 kB / 433.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.6151, allocations: 86.66 kB / 433.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.6152, allocations: 8 kB / 433.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.6154, allocations: 326.8 kB / 433.8 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/0.6162, allocations: 148.2 kB / 434 MB, free: 7.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/0.6171, allocations: 260.5 kB / 434.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/0.618, allocations: 189.2 kB / 434.4 MB, free: 6.762 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.618, allocations: 4 kB / 434.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002097/0.6201, allocations: 479 kB / 434.9 MB, free: 6.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.6202, allocations: 8 kB / 434.9 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/0.6204, allocations: 35.97 kB / 434.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.6205, allocations: 8 kB / 434.9 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.621, allocations: 39.91 kB / 435 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/0.6211, allocations: 16.3 kB / 435 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/0.6218, allocations: 59.28 kB / 435 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.622, allocations: 23.98 kB / 435.1 MB, free: 6.098 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0006563/0.6226, allocations: 221.9 kB / 435.3 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.6228, allocations: 39.44 kB / 435.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.6255, allocations: 0.54 MB / 435.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.6255, allocations: 4 kB / 435.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6256, allocations: 4 kB / 435.9 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.6256, allocations: 3.953 kB / 435.9 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.6271, allocations: 433.1 kB / 436.3 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001819/0.6273, allocations: 39.91 kB / 436.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.6278, allocations: 23.98 kB / 436.4 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.6278, allocations: 4 kB / 436.4 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.6279, allocations: 19.92 kB / 436.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.6279, allocations: 0 / 436.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6279, allocations: 4 kB / 436.4 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.6308, allocations: 0.7105 MB / 437.1 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.6312, allocations: 132.5 kB / 437.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.6314, allocations: 4 kB / 437.2 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.6319, allocations: 11.98 kB / 437.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.6321, allocations: 15.98 kB / 437.3 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.921e-05/0.6322, allocations: 15.98 kB / 437.3 MB, free: 3.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.6333, allocations: 403.1 kB / 437.7 MB, free: 3.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6334, allocations: 0 / 437.7 MB, free: 3.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001404/0.6348, allocations: 151.9 kB / 437.8 MB, free: 3.254 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.003914/0.6388, allocations: 1.378 MB / 439.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.6408, allocations: 0.6718 MB / 439.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.6409, allocations: 0.8125 kB / 439.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6419, allocations: 488.2 kB / 440.3 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.643, allocations: 81.84 kB / 440.4 MB, free: 488 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.6558, allocations: 5.276 MB / 445.7 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/0.6567, allocations: 0.8821 MB / 446.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.6573, allocations: 135.4 kB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6573, allocations: 0 / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.798/3.455, allocations: 10.84 MB / 457.6 MB, free: 15.21 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_res.mat does not exist to compare? outputFormat=mat