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.StraightPipe.kc_laminar_KC.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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.05e-05, allocations: 8 kB / 303.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3859, allocations: 54.85 MB / 358.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5509, allocations: 87.62 MB / 445.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/0.5514, allocations: 95.88 kB / 445.9 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05418/0.6056, allocations: 11.59 MB / 457.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6056, allocations: 0 / 457.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.6057, allocations: 4 kB / 457.5 MB, free: 11.23 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001407/0.6071, allocations: 0.6116 MB / 458.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.6071, allocations: 12.03 kB / 458.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.6073, allocations: 47.39 kB / 458.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.6078, allocations: 290.4 kB / 458.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.6079, allocations: 12 kB / 458.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.331e-05/0.608, allocations: 28 kB / 458.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001358/0.6094, allocations: 0.5803 MB / 459 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6107, allocations: 0.5543 MB / 459.6 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.6107, allocations: 7.891 kB / 459.6 MB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.6108, allocations: 4 kB / 459.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.6109, allocations: 45.27 kB / 459.6 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.6147, allocations: 1.218 MB / 460.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.6161, allocations: 0.5062 MB / 461.4 MB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.6166, allocations: 164.7 kB / 461.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.6166, allocations: 11.98 kB / 461.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.6167, allocations: 42.5 kB / 461.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.557e-06/0.6167, allocations: 0 / 461.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.001259/0.618, allocations: 401.4 kB / 462 MB, free: 6.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.6181, allocations: 55.41 kB / 462 MB, free: 6.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.6183, allocations: 173.2 kB / 462.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.6184, allocations: 25.7 kB / 462.2 MB, free: 6.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.6186, allocations: 290.8 kB / 462.5 MB, free: 5.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.6188, allocations: 122.2 kB / 462.6 MB, free: 5.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.6188, allocations: 0 / 462.6 MB, free: 5.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.619, allocations: 326.8 kB / 462.9 MB, free: 5.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.6194, allocations: 164.7 kB / 463.1 MB, free: 5.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.6199, allocations: 250.5 kB / 463.3 MB, free: 5.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.6205, allocations: 203.8 kB / 463.5 MB, free: 4.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6205, allocations: 0 / 463.5 MB, free: 4.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001354/0.6219, allocations: 480.3 kB / 464 MB, free: 4.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6219, allocations: 7.984 kB / 464 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.622, allocations: 4 kB / 464 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.622, allocations: 4 kB / 464 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.624, allocations: 208.1 kB / 464.2 MB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3594/0.9834, allocations: 7.32 MB / 471.6 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.9841, allocations: 27.2 kB / 471.6 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/0.9842, allocations: 22.86 kB / 471.6 MB, free: 96.8 MB / 394.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 (49): * Single equations (assignments): 37 * 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.0001999/0.9844, allocations: 126.4 kB / 471.7 MB, free: 96.69 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001408/0.9858, allocations: 403.8 kB / 472.1 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.9859, allocations: 21.5 kB / 472.1 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.9877, allocations: 0.538 MB / 472.7 MB, free: 96.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.9877, allocations: 3.531 kB / 472.7 MB, free: 96.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.9878, allocations: 5.062 kB / 472.7 MB, free: 96.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.9878, allocations: 3.109 kB / 472.7 MB, free: 96.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.9888, allocations: 381.4 kB / 473.1 MB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9888, allocations: 1.172 kB / 473.1 MB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.9908, allocations: 205.4 kB / 473.3 MB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.9909, allocations: 1.688 kB / 473.3 MB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.9909, allocations: 10.31 kB / 473.3 MB, free: 96.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/0.9947, allocations: 7.324 MB / 480.6 MB, free: 89.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.9948, allocations: 2.391 kB / 480.6 MB, free: 89.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.996, allocations: 0.4911 MB / 481.1 MB, free: 89.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.9961, allocations: 99.64 kB / 481.2 MB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.9962, allocations: 0 / 481.2 MB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.9966, allocations: 17.45 kB / 481.2 MB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.9968, allocations: 29.92 kB / 481.2 MB, free: 89.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.9969, allocations: 16.08 kB / 481.3 MB, free: 89.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.997, allocations: 127.1 kB / 481.4 MB, free: 89.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-07/0.997, allocations: 1.469 kB / 481.4 MB, free: 89.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008604/0.9979, allocations: 152.7 kB / 481.5 MB, free: 89.06 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * 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.001751/0.9997, allocations: 1.128 MB / 482.7 MB, free: 88.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002388/1.002, allocations: 498.3 kB / 483.1 MB, free: 88.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.002, allocations: 0 / 483.1 MB, free: 88.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.004, allocations: 312.1 kB / 483.4 MB, free: 88.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/1.004, allocations: 18.67 kB / 483.5 MB, free: 88.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/1.007, allocations: 0.7777 MB / 484.2 MB, free: 88.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/1.007, allocations: 0.8829 MB / 485.1 MB, free: 87.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/1.007, allocations: 125.5 kB / 485.2 MB, free: 87.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/1.007, allocations: 0 / 485.2 MB, free: 87.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.504/4.511, allocations: 27.07 MB / 0.5003 GB, free: 65.82 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.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat