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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 12 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.366, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5281, allocations: 88.29 MB / 457.7 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/0.5286, allocations: 95.94 kB / 457.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08496/0.6136, allocations: 14.34 MB / 472.1 MB, free: 3.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6136, allocations: 4 kB / 472.1 MB, free: 3.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.05e-05/0.6137, allocations: 4 kB / 472.1 MB, free: 3.531 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001829/0.6155, allocations: 0.6358 MB / 472.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.6156, allocations: 8.031 kB / 472.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002873/0.616, allocations: 106.5 kB / 472.9 MB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.6162, allocations: 43.44 kB / 472.9 MB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008326/0.617, allocations: 300.4 kB / 473.2 MB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.6171, allocations: 37.31 kB / 473.2 MB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.6173, allocations: 48 kB / 473.3 MB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.6197, allocations: 0.6349 MB / 473.9 MB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.6198, allocations: 4 kB / 473.9 MB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.6199, allocations: 20 kB / 473.9 MB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.6201, allocations: 37.25 kB / 474 MB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.6223, allocations: 0.5008 MB / 474.5 MB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3265/0.9488, allocations: 1.436 MB / 475.9 MB, free: 95.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.9507, allocations: 465.5 kB / 476.4 MB, free: 95.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-05/0.9509, allocations: 17.03 kB / 476.4 MB, free: 95.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.9509, allocations: 34.44 kB / 476.4 MB, free: 95.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.506e-06/0.9509, allocations: 0.7188 kB / 476.4 MB, free: 95.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001832/0.9528, allocations: 0.5034 MB / 476.9 MB, free: 94.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.9529, allocations: 54.88 kB / 477 MB, free: 94.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.9539, allocations: 0.4922 MB / 477.5 MB, free: 94.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.954, allocations: 30.45 kB / 477.5 MB, free: 94.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.9541, allocations: 253.4 kB / 477.7 MB, free: 94.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9543, allocations: 93.48 kB / 477.8 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.9543, allocations: 8.625 kB / 477.8 MB, free: 94.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.9544, allocations: 324.4 kB / 478.2 MB, free: 94.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.9549, allocations: 156 kB / 478.3 MB, free: 94.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.9555, allocations: 249.3 kB / 478.5 MB, free: 94.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.956, allocations: 200 kB / 478.7 MB, free: 94.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.9561, allocations: 5.328 kB / 478.7 MB, free: 94.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001941/0.958, allocations: 475.9 kB / 479.2 MB, free: 94.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.9581, allocations: 7.438 kB / 479.2 MB, free: 94.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002197/0.9584, allocations: 37.16 kB / 479.3 MB, free: 94.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.9584, allocations: 6.359 kB / 479.3 MB, free: 94.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.9589, allocations: 40.61 kB / 479.3 MB, free: 94.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.9589, allocations: 8.016 kB / 479.3 MB, free: 94.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.9595, allocations: 60.36 kB / 479.4 MB, free: 94.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.9596, allocations: 19.75 kB / 479.4 MB, free: 94.05 MB / 394.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.0004497/0.96, allocations: 222.2 kB / 479.6 MB, free: 93.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.9601, allocations: 49.67 kB / 479.7 MB, free: 93.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.9619, allocations: 0.5414 MB / 480.2 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.9619, allocations: 9.203 kB / 480.2 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.962, allocations: 0 / 480.2 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.962, allocations: 1.547 kB / 480.2 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.9631, allocations: 424.8 kB / 480.6 MB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001243/0.9632, allocations: 35.89 kB / 480.7 MB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.9635, allocations: 32.91 kB / 480.7 MB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.9636, allocations: 2.641 kB / 480.7 MB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.9636, allocations: 14.16 kB / 480.7 MB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.9636, allocations: 1.188 kB / 480.7 MB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9637, allocations: 6.656 kB / 480.7 MB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.9656, allocations: 0.7073 MB / 481.4 MB, free: 93.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.9659, allocations: 126 kB / 481.5 MB, free: 93.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.966, allocations: 10.73 kB / 481.6 MB, free: 93.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.9664, allocations: 10.05 kB / 481.6 MB, free: 93.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.9665, allocations: 25.97 kB / 481.6 MB, free: 93.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.9666, allocations: 15.56 kB / 481.6 MB, free: 93.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007246/0.9673, allocations: 396.7 kB / 482 MB, free: 93.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9673, allocations: 0 / 482 MB, free: 93.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009578/0.9683, allocations: 154.4 kB / 482.1 MB, free: 93.29 MB / 394.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.002447/0.9707, allocations: 1.372 MB / 483.5 MB, free: 92.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.9719, allocations: 0.6667 MB / 484.2 MB, free: 92.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.972, allocations: 0 / 484.2 MB, free: 92.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.9725, allocations: 496 kB / 484.7 MB, free: 91.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.9732, allocations: 80.86 kB / 484.7 MB, free: 91.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.9803, allocations: 5.269 MB / 490 MB, free: 88.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.9808, allocations: 0.881 MB / 490.9 MB, free: 87.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.9811, allocations: 140.6 kB / 491 MB, free: 87.89 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9811, allocations: 0 / 491 MB, free: 87.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.634/3.615, allocations: 10.86 MB / 0.4901 GB, free: 81.04 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_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat