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.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 16 kB / 314.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3552, allocations: 54.84 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.5228, allocations: 91.89 MB / 461.2 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/0.5233, allocations: 99.81 kB / 461.3 MB, free: 0.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07099/0.5943, allocations: 14.29 MB / 475.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5943, allocations: 0 / 475.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.5944, allocations: 8 kB / 475.6 MB, free: 2.086 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001492/0.5959, allocations: 0.6199 MB / 476.3 MB, free: 1.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.5959, allocations: 12.03 kB / 476.3 MB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.5961, allocations: 82.52 kB / 476.4 MB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.5962, allocations: 43.48 kB / 476.4 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.5968, allocations: 282.9 kB / 476.7 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.5968, allocations: 29 kB / 476.7 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.5969, allocations: 35.98 kB / 476.7 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.5984, allocations: 0.5373 MB / 477.3 MB, free: 352 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5984, allocations: 4 kB / 477.3 MB, free: 348 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.5985, allocations: 19.98 kB / 477.3 MB, free: 328 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.338e-05/0.5986, allocations: 28.98 kB / 477.3 MB, free: 300 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.6002, allocations: 0.5776 MB / 477.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.6032, allocations: 1.203 MB / 479.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.6044, allocations: 379.1 kB / 479.5 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.942e-05/0.6044, allocations: 8.172 kB / 479.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.6045, allocations: 34.78 kB / 479.5 MB, free: 14.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.885e-06/0.6045, allocations: 3.938 kB / 479.5 MB, free: 14.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.002091/0.6066, allocations: 474.8 kB / 480 MB, free: 13.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.6067, allocations: 59.36 kB / 480 MB, free: 13.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.6077, allocations: 404.8 kB / 480.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.6078, allocations: 29.7 kB / 480.5 MB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.608, allocations: 230.8 kB / 480.7 MB, free: 12.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.6082, allocations: 78.98 kB / 480.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.6082, allocations: 3.938 kB / 480.8 MB, free: 12.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6084, allocations: 314.8 kB / 481.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/0.609, allocations: 119.9 kB / 481.2 MB, free: 12.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.6096, allocations: 134.6 kB / 481.3 MB, free: 12.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.6103, allocations: 131.8 kB / 481.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.6103, allocations: 0 / 481.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001589/0.6119, allocations: 321.3 kB / 481.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.6119, allocations: 4 kB / 481.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.612, allocations: 4 kB / 481.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.612, allocations: 0 / 481.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.614, allocations: 151.8 kB / 481.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/0.6195, allocations: 5.524 MB / 487.5 MB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.6201, allocations: 55.39 kB / 487.5 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.6202, allocations: 4 kB / 487.5 MB, free: 5.781 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004657/0.6207, allocations: 197.9 kB / 487.7 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.6209, allocations: 31.62 kB / 487.7 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.623, allocations: 459 kB / 488.2 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.623, allocations: 4 kB / 488.2 MB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.623, allocations: 3.984 kB / 488.2 MB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.623, allocations: 11.94 kB / 488.2 MB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.6241, allocations: 369.3 kB / 488.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6241, allocations: 0 / 488.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/0.6262, allocations: 151.8 kB / 488.7 MB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.6262, allocations: 4 kB / 488.7 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.6263, allocations: 8 kB / 488.7 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005951/0.6322, allocations: 5.512 MB / 494.2 MB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.6323, allocations: 3.953 kB / 494.2 MB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.6341, allocations: 455.1 kB / 494.7 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.6344, allocations: 120.6 kB / 494.8 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.6345, allocations: 3.938 kB / 494.8 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.6351, allocations: 19.98 kB / 494.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.6352, allocations: 19.97 kB / 494.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.6353, allocations: 15.94 kB / 494.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008301/0.6362, allocations: 331.1 kB / 495.2 MB, free: 13.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6362, allocations: 0 / 495.2 MB, free: 13.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001236/0.6374, allocations: 159.8 kB / 495.3 MB, free: 13.64 MB / 426.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.002897/0.6403, allocations: 1.138 MB / 496.5 MB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.6433, allocations: 371.5 kB / 496.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6433, allocations: 0 / 496.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.6456, allocations: 247.7 kB / 497.1 MB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.6466, allocations: 84.25 kB / 497.2 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008605/0.6552, allocations: 2.653 MB / 499.8 MB, free: 9.082 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/0.656, allocations: 0.858 MB / 0.4889 GB, free: 8.199 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.6565, allocations: 115.4 kB / 0.4891 GB, free: 8.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6565, allocations: 3.938 kB / 0.4891 GB, free: 8.082 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.516/4.172, allocations: 21.37 MB / 0.5099 GB, free: 122.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat