Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01156/0.01157, allocations: 105.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001262/0.001261, allocations: 168.7 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.802/1.802, allocations: 170.9 MB / 187.6 MB, free: 1.008 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.293/0.293, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006841/0.0006846, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1248, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.004125/0.129, allocations: 1.593 MB / 373.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1315, allocations: 0.7448 MB / 374.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1318, allocations: 0 / 374.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.1323, allocations: 55.72 kB / 374.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.1328, allocations: 87.72 kB / 374.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.1333, allocations: 51.86 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.1339, allocations: 191.6 kB / 375 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.134, allocations: 40.36 kB / 375.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.1343, allocations: 91.61 kB / 375.2 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1347, allocations: 107.5 kB / 375.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.1348, allocations: 8 kB / 375.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/0.1354, allocations: 131.8 kB / 375.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.1356, allocations: 55.8 kB / 375.5 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1357, allocations: 69.52 kB / 375.5 MB, free: 9.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.1364, allocations: 215.7 kB / 375.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1364, allocations: 0 / 375.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1364, allocations: 0 / 375.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1364, allocations: 0 / 375.7 MB, free: 9.398 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001511/0.1379, allocations: 0.5185 MB / 376.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.138, allocations: 12.03 kB / 376.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.1382, allocations: 66.53 kB / 376.3 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1383, allocations: 31.56 kB / 376.4 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.1388, allocations: 245.6 kB / 376.6 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.1389, allocations: 24.55 kB / 376.6 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/0.139, allocations: 20 kB / 376.6 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.1405, allocations: 397.2 kB / 377 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.1405, allocations: 0 / 377 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.1406, allocations: 19.98 kB / 377.1 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.633e-05/0.1407, allocations: 24.64 kB / 377.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.1424, allocations: 414.3 kB / 377.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.1455, allocations: 0.8852 MB / 378.4 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.147, allocations: 310.2 kB / 378.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.1471, allocations: 8.062 kB / 378.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1472, allocations: 34.5 kB / 378.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 4.078e-06/0.1472, allocations: 0 / 378.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.001874/0.1491, allocations: 369.3 kB / 379.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.1492, allocations: 55.41 kB / 379.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.15, allocations: 347.2 kB / 379.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.1501, allocations: 29.7 kB / 379.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.1503, allocations: 164.1 kB / 379.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1505, allocations: 55.28 kB / 379.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1505, allocations: 8 kB / 379.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1507, allocations: 334.8 kB / 380 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/0.1513, allocations: 104.3 kB / 380.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.1519, allocations: 150.7 kB / 380.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.1525, allocations: 119.9 kB / 380.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1525, allocations: 3.938 kB / 380.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001467/0.154, allocations: 328.2 kB / 380.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.1541, allocations: 12.19 kB / 380.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1541, allocations: 0 / 380.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.1541, allocations: 4 kB / 380.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.1556, allocations: 115.8 kB / 380.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.1593, allocations: 3.7 MB / 384.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.1599, allocations: 35.7 kB / 384.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.16, allocations: 12 kB / 384.6 MB, free: 144 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004264/0.1604, allocations: 170.9 kB / 384.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1606, allocations: 31.67 kB / 384.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.1623, allocations: 363.1 kB / 385.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1623, allocations: 3.984 kB / 385.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1623, allocations: 0 / 385.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1623, allocations: 8 kB / 385.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.1632, allocations: 305.5 kB / 385.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1632, allocations: 4 kB / 385.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.1646, allocations: 111.8 kB / 385.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.1647, allocations: 3.953 kB / 385.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.1647, allocations: 4 kB / 385.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.1686, allocations: 3.7 MB / 389.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1686, allocations: 3.938 kB / 389.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.17, allocations: 383.6 kB / 389.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.1702, allocations: 108.7 kB / 389.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.1703, allocations: 7.953 kB / 389.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.1708, allocations: 11.98 kB / 389.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.1709, allocations: 15.98 kB / 389.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.171, allocations: 7.984 kB / 389.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005739/0.1715, allocations: 253.9 kB / 390.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.1716, allocations: 3.938 kB / 390.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000839/0.1724, allocations: 72.12 kB / 390.1 MB, free: 10.37 MB / 298.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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/0.1744, allocations: 0.9403 MB / 391.1 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.1768, allocations: 324 kB / 391.4 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1769, allocations: 4 kB / 391.4 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.1786, allocations: 203.7 kB / 391.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.1794, allocations: 60.58 kB / 391.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/0.1869, allocations: 2.872 MB / 394.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.1876, allocations: 0.8105 MB / 395.3 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004557/0.1881, allocations: 66.22 kB / 395.4 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.1884, allocations: 79.34 kB / 395.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1884, allocations: 3.938 kB / 395.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04822/0.2366, allocations: 7.644 MB / 403.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004275/0.2371, allocations: 270.4 kB / 403.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/3.327, allocations: 4 kB / 403.4 MB, free: 13.02 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat