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.507/2.507, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004672, allocations: 12 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3442, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.5009, allocations: 88.37 MB / 457.7 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000418/0.5014, allocations: 99.92 kB / 457.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06249/0.5639, allocations: 14.02 MB / 471.9 MB, free: 3.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.564, allocations: 4 kB / 471.9 MB, free: 3.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.564, allocations: 8 kB / 471.9 MB, free: 3.852 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.001669/0.5657, allocations: 0.6551 MB / 472.5 MB, free: 3.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5658, allocations: 8.031 kB / 472.5 MB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.566, allocations: 102.5 kB / 472.6 MB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.5661, allocations: 55.3 kB / 472.7 MB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.5667, allocations: 306.8 kB / 473 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.5668, allocations: 41.31 kB / 473 MB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.5669, allocations: 51.98 kB / 473.1 MB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.5687, allocations: 0.6896 MB / 473.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.5688, allocations: 0 / 473.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.5689, allocations: 20 kB / 473.8 MB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-05/0.569, allocations: 37.3 kB / 473.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.571, allocations: 0.7584 MB / 474.6 MB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3052/0.8761, allocations: 1.45 MB / 476 MB, free: 95.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.8779, allocations: 458.5 kB / 476.5 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.878, allocations: 13 kB / 476.5 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.878, allocations: 35.41 kB / 476.5 MB, free: 95.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.006e-06/0.878, allocations: 0.5938 kB / 476.5 MB, free: 95.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.002063/0.8801, allocations: 0.5466 MB / 477.1 MB, free: 95.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.8802, allocations: 54.39 kB / 477.1 MB, free: 95.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009316/0.8811, allocations: 485.5 kB / 477.6 MB, free: 95.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.8812, allocations: 36.58 kB / 477.6 MB, free: 95.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.8813, allocations: 273.6 kB / 477.9 MB, free: 95.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.8815, allocations: 98.2 kB / 478 MB, free: 95.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.8815, allocations: 6.781 kB / 478 MB, free: 95.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.8816, allocations: 325.5 kB / 478.3 MB, free: 95.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.8822, allocations: 159.2 kB / 478.5 MB, free: 95.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.8827, allocations: 251.4 kB / 478.7 MB, free: 94.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/0.8834, allocations: 192.7 kB / 478.9 MB, free: 94.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8834, allocations: 5 kB / 478.9 MB, free: 94.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001484/0.8849, allocations: 485.8 kB / 479.4 MB, free: 94.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.8849, allocations: 5.938 kB / 479.4 MB, free: 94.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.885, allocations: 3.125 kB / 479.4 MB, free: 94.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.885, allocations: 4.281 kB / 479.4 MB, free: 94.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.8868, allocations: 210.9 kB / 479.6 MB, free: 94.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.8905, allocations: 7.309 MB / 486.9 MB, free: 87.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.8912, allocations: 66.11 kB / 487 MB, free: 87.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.8913, allocations: 21.98 kB / 487 MB, free: 87.84 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 () * Number of clocked 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.0004352/0.8918, allocations: 233.7 kB / 487.2 MB, free: 87.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.8919, allocations: 44.64 kB / 487.3 MB, free: 87.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.8938, allocations: 0.5512 MB / 487.8 MB, free: 87.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.8938, allocations: 2.125 kB / 487.8 MB, free: 87.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8938, allocations: 5.625 kB / 487.8 MB, free: 87.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8939, allocations: 0 / 487.8 MB, free: 87.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008639/0.8947, allocations: 423.6 kB / 488.3 MB, free: 87.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.8948, allocations: 3.953 kB / 488.3 MB, free: 87.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.8965, allocations: 198.3 kB / 488.5 MB, free: 87.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.8965, allocations: 1.031 kB / 488.5 MB, free: 87.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.8966, allocations: 13.56 kB / 488.5 MB, free: 87.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/0.9002, allocations: 7.312 MB / 495.8 MB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9003, allocations: 0 / 495.8 MB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.9016, allocations: 0.513 MB / 496.3 MB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.9018, allocations: 126.4 kB / 496.4 MB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.902, allocations: 10.84 kB / 496.4 MB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.9024, allocations: 17.88 kB / 496.5 MB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.9025, allocations: 21.77 kB / 496.5 MB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.9026, allocations: 14.53 kB / 496.5 MB, free: 80.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005928/0.9032, allocations: 388 kB / 496.9 MB, free: 80.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9032, allocations: 0 / 496.9 MB, free: 80.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007809/0.904, allocations: 136.8 kB / 497 MB, free: 80.04 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 () * 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: 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.001764/0.9058, allocations: 1.143 MB / 498.1 MB, free: 79.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.9082, allocations: 499.7 kB / 498.6 MB, free: 79.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9082, allocations: 0 / 498.6 MB, free: 79.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.9099, allocations: 311.2 kB / 498.9 MB, free: 79.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.9107, allocations: 85.45 kB / 499 MB, free: 79.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.9173, allocations: 5.033 MB / 0.4922 GB, free: 76.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.9178, allocations: 0.896 MB / 0.4931 GB, free: 75.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.9181, allocations: 144.1 kB / 0.4932 GB, free: 75.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.9181, allocations: 11.91 kB / 0.4933 GB, free: 75.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.589/4.507, allocations: 30.9 MB / 0.5234 GB, free: 46.81 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_KC_res.mat does not exist to compare? outputFormat=mat