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.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.399e-05, allocations: 0 / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4666, allocations: 54.84 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.6338, allocations: 88.18 MB / 446.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.6342, allocations: 95.86 kB / 446.4 MB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06014/0.6943, allocations: 13.51 MB / 459.9 MB, free: 8.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6944, allocations: 0 / 459.9 MB, free: 8.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.6944, allocations: 4 kB / 459.9 MB, free: 8.789 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00137/0.6958, allocations: 0.6269 MB / 460.6 MB, free: 8.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.6959, allocations: 8.031 kB / 460.6 MB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.696, allocations: 47.42 kB / 460.6 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.6966, allocations: 287.3 kB / 460.9 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.6966, allocations: 12 kB / 460.9 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.6967, allocations: 24 kB / 460.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008317/0.6975, allocations: 325.8 kB / 461.2 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.6987, allocations: 477.7 kB / 461.7 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6988, allocations: 0 / 461.7 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.6988, allocations: 0 / 461.7 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.6989, allocations: 24.77 kB / 461.7 MB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.7019, allocations: 1.155 MB / 462.9 MB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.7026, allocations: 263.6 kB / 463.1 MB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.703, allocations: 118.5 kB / 463.3 MB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.608e-05/0.703, allocations: 11.98 kB / 463.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.7031, allocations: 46.5 kB / 463.3 MB, free: 5.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.957e-06/0.7031, allocations: 0 / 463.3 MB, free: 5.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009531/0.7041, allocations: 277.2 kB / 463.6 MB, free: 4.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.7042, allocations: 106.8 kB / 463.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.7045, allocations: 208.5 kB / 463.9 MB, free: 4.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.7046, allocations: 29.64 kB / 463.9 MB, free: 4.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.7048, allocations: 278.5 kB / 464.2 MB, free: 4.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.7049, allocations: 59.19 kB / 464.3 MB, free: 4.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.7049, allocations: 4.062 kB / 464.3 MB, free: 4.211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7051, allocations: 322.8 kB / 464.6 MB, free: 3.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.7055, allocations: 108.1 kB / 464.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.7059, allocations: 194.5 kB / 464.9 MB, free: 3.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.7063, allocations: 138 kB / 465 MB, free: 3.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7063, allocations: 0 / 465 MB, free: 3.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009978/0.7074, allocations: 337.2 kB / 465.3 MB, free: 3.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.7074, allocations: 4 kB / 465.3 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.7075, allocations: 27.98 kB / 465.4 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.7076, allocations: 7.953 kB / 465.4 MB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.708, allocations: 48.23 kB / 465.4 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.708, allocations: 4 kB / 465.4 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.7084, allocations: 35.81 kB / 465.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.7084, allocations: 16 kB / 465.5 MB, free: 2.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001643/0.7086, allocations: 114.6 kB / 465.6 MB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008869/0.7095, allocations: 293.1 kB / 465.9 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.7097, allocations: 23.75 kB / 465.9 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.7109, allocations: 388.5 kB / 466.3 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.7109, allocations: 4 kB / 466.3 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7109, allocations: 0 / 466.3 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.7109, allocations: 0 / 466.3 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.7118, allocations: 333.9 kB / 466.6 MB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001176/0.7119, allocations: 36.03 kB / 466.6 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.7123, allocations: 27.97 kB / 466.7 MB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.7123, allocations: 0 / 466.7 MB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.7123, allocations: 15.98 kB / 466.7 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.7123, allocations: 3.953 kB / 466.7 MB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.7124, allocations: 4 kB / 466.7 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.7133, allocations: 0.5379 MB / 467.2 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.7135, allocations: 104.7 kB / 467.3 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/0.7136, allocations: 3.984 kB / 467.3 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.714, allocations: 23.98 kB / 467.4 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7141, allocations: 23.97 kB / 467.4 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.7142, allocations: 8 kB / 467.4 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.7144, allocations: 160.5 kB / 467.5 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7144, allocations: 3.938 kB / 467.6 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009454/0.7154, allocations: 143.5 kB / 467.7 MB, free: 0.6328 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.3305/1.046, allocations: 1.33 MB / 469 MB, free: 98.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/1.047, allocations: 0.4907 MB / 469.5 MB, free: 98.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.047, allocations: 3.562 kB / 469.5 MB, free: 98.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007846/1.048, allocations: 368 kB / 469.9 MB, free: 98.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/1.049, allocations: 29.89 kB / 469.9 MB, free: 98.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/1.052, allocations: 0.6634 MB / 470.6 MB, free: 97.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/1.053, allocations: 0.8535 MB / 471.4 MB, free: 97.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/1.054, allocations: 108.3 kB / 471.5 MB, free: 97.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/1.054, allocations: 0.5312 kB / 471.5 MB, free: 97.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.771/3.824, allocations: 7.799 MB / 479.3 MB, free: 96.51 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.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat