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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.144e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3752, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5374, allocations: 88.01 MB / 446.2 MB, free: 6.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004228/0.5379, allocations: 91.94 kB / 446.2 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05337/0.5913, allocations: 12.01 MB / 458.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5913, allocations: 3.938 kB / 458.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.5914, allocations: 8 kB / 458.3 MB, free: 10.42 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001479/0.5929, allocations: 0.6622 MB / 458.9 MB, free: 9.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5929, allocations: 12.03 kB / 458.9 MB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.5931, allocations: 47.44 kB / 459 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.5937, allocations: 298.4 kB / 459.3 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.5938, allocations: 12 kB / 459.3 MB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.5939, allocations: 28 kB / 459.3 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009665/0.5948, allocations: 378.4 kB / 459.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.5961, allocations: 0.5602 MB / 460.2 MB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5962, allocations: 7.953 kB / 460.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.5962, allocations: 0 / 460.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/0.5963, allocations: 29.3 kB / 460.3 MB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.5996, allocations: 1.367 MB / 461.6 MB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.6003, allocations: 263.6 kB / 461.9 MB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.6006, allocations: 114.6 kB / 462 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.869e-05/0.6007, allocations: 11.98 kB / 462 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.6007, allocations: 38.56 kB / 462.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.506e-06/0.6007, allocations: 0 / 462.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001028/0.6018, allocations: 282.8 kB / 462.3 MB, free: 6.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.6019, allocations: 110.8 kB / 462.4 MB, free: 6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.6023, allocations: 223.9 kB / 462.7 MB, free: 5.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.6023, allocations: 25.7 kB / 462.7 MB, free: 5.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.6026, allocations: 306.1 kB / 463 MB, free: 5.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.6027, allocations: 67 kB / 463.1 MB, free: 5.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.6027, allocations: 0 / 463.1 MB, free: 5.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6029, allocations: 322.8 kB / 463.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.6033, allocations: 124.2 kB / 463.5 MB, free: 4.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.6037, allocations: 239.6 kB / 463.7 MB, free: 4.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.6042, allocations: 154.6 kB / 463.9 MB, free: 4.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.6042, allocations: 4 kB / 463.9 MB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001139/0.6053, allocations: 383.7 kB / 464.3 MB, free: 4.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.6054, allocations: 8.531 kB / 464.3 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/0.6056, allocations: 43.89 kB / 464.3 MB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.6056, allocations: 12 kB / 464.3 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.6061, allocations: 43.97 kB / 464.4 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.6061, allocations: 15.88 kB / 464.4 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.6066, allocations: 35.83 kB / 464.4 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.6066, allocations: 27.97 kB / 464.4 MB, free: 3.922 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0001711/0.6068, allocations: 122.6 kB / 464.6 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008967/0.6077, allocations: 285.1 kB / 464.8 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6079, allocations: 23.66 kB / 464.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.6091, allocations: 402.8 kB / 465.3 MB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.6092, allocations: 12.02 kB / 465.3 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6092, allocations: 0 / 465.3 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6092, allocations: 0 / 465.3 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.6101, allocations: 346 kB / 465.6 MB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001249/0.6103, allocations: 35.95 kB / 465.6 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.6106, allocations: 31.97 kB / 465.7 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.6106, allocations: 0 / 465.7 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.6107, allocations: 8 kB / 465.7 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6107, allocations: 4 kB / 465.7 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6107, allocations: 4 kB / 465.7 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.6117, allocations: 0.5488 MB / 466.2 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.6119, allocations: 104.8 kB / 466.3 MB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.612, allocations: 4 kB / 466.3 MB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.6124, allocations: 23.92 kB / 466.4 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6125, allocations: 23.97 kB / 466.4 MB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.6126, allocations: 15.98 kB / 466.4 MB, free: 1.855 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.6128, allocations: 168.4 kB / 466.6 MB, free: 1.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6128, allocations: 0 / 466.6 MB, free: 1.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001048/0.6139, allocations: 163.4 kB / 466.7 MB, free: 1.535 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.001882/0.6158, allocations: 1.326 MB / 468.1 MB, free: 180 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.344/0.9598, allocations: 0.587 MB / 468.6 MB, free: 98.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.9599, allocations: 4.094 kB / 468.6 MB, free: 98.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007752/0.9607, allocations: 446.4 kB / 469.1 MB, free: 97.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.9615, allocations: 25.22 kB / 469.1 MB, free: 97.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.9659, allocations: 0.763 MB / 469.9 MB, free: 97.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/0.9667, allocations: 0.8659 MB / 470.7 MB, free: 96.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.9671, allocations: 115.7 kB / 470.8 MB, free: 96.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.9672, allocations: 0 / 470.8 MB, free: 96.92 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.638/3.606, allocations: 8.415 MB / 479.3 MB, free: 96.32 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_res.mat does not exist to compare? outputFormat=mat