Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 4 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3573, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.4948, allocations: 76.74 MB / 385.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.4951, allocations: 71.97 kB / 385.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08322/0.5783, allocations: 18.2 MB / 403.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5784, allocations: 0 / 403.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.823e-05/0.5785, allocations: 23.94 kB / 403.6 MB, free: 13.53 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003809/0.5823, allocations: 1.251 MB / 404.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.5824, allocations: 12.03 kB / 404.9 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004581/0.5829, allocations: 128.4 kB / 405 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.5832, allocations: 127.3 kB / 405.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.5848, allocations: 0.583 MB / 405.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/0.5852, allocations: 155.1 kB / 405.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.5853, allocations: 64 kB / 405.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.5879, allocations: 0.9597 MB / 406.9 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.588, allocations: 0 / 406.9 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.5881, allocations: 32 kB / 406.9 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.5881, allocations: 20 kB / 406.9 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.5905, allocations: 0.648 MB / 407.6 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006746/0.5972, allocations: 2.532 MB / 410.1 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004983/0.6023, allocations: 0.9465 MB / 411 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.6024, allocations: 12.64 kB / 411 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.6025, allocations: 55.17 kB / 411.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 3.677e-06/0.6025, allocations: 0 / 411.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.004704/0.6072, allocations: 1.459 MB / 412.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004778/0.6078, allocations: 0.9489 MB / 413.5 MB, free: 2.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6092, allocations: 0.668 MB / 414.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002141/0.6094, allocations: 45.7 kB / 414.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.6099, allocations: 400.5 kB / 414.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.6102, allocations: 244.4 kB / 414.9 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.6103, allocations: 16 kB / 414.9 MB, free: 1.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6105, allocations: 337.9 kB / 415.2 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.6115, allocations: 269.9 kB / 415.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.613, allocations: 0.5841 MB / 416 MB, free: 152 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2529/0.8659, allocations: 404.9 kB / 416.4 MB, free: 89.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.866, allocations: 2.25 kB / 416.4 MB, free: 89.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003617/0.8696, allocations: 0.9767 MB / 417.4 MB, free: 89.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/0.8698, allocations: 88.44 kB / 417.5 MB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.8698, allocations: 5.828 kB / 417.5 MB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.8704, allocations: 127.4 kB / 417.6 MB, free: 89.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.8719, allocations: 158.5 kB / 417.8 MB, free: 89.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.8788, allocations: 6.979 MB / 424.8 MB, free: 82.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.8802, allocations: 110.5 kB / 424.9 MB, free: 82.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.605e-05/0.8803, allocations: 25.91 kB / 424.9 MB, free: 82.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000556/0.8809, allocations: 237.9 kB / 425.1 MB, free: 82.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.8812, allocations: 94.28 kB / 425.2 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.8814, allocations: 103.9 kB / 425.3 MB, free: 82.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.8815, allocations: 8.703 kB / 425.3 MB, free: 82.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.8815, allocations: 0 / 425.3 MB, free: 82.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/0.8837, allocations: 1.005 MB / 426.3 MB, free: 82.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.8881, allocations: 1.764 MB / 428.1 MB, free: 81.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.8881, allocations: 1.688 kB / 428.1 MB, free: 81.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.8895, allocations: 164.8 kB / 428.3 MB, free: 81.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.8897, allocations: 30.33 kB / 428.3 MB, free: 81.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.8898, allocations: 12.56 kB / 428.3 MB, free: 81.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.891, allocations: 1.462 MB / 429.8 MB, free: 80.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8911, allocations: 5.438 kB / 429.8 MB, free: 80.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/0.8944, allocations: 1.123 MB / 430.9 MB, free: 80.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.8948, allocations: 174.8 kB / 431.1 MB, free: 79.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.8951, allocations: 28.02 kB / 431.1 MB, free: 79.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/0.896, allocations: 53.16 kB / 431.2 MB, free: 79.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.8962, allocations: 40.64 kB / 431.2 MB, free: 79.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-05/0.8962, allocations: 20.75 kB / 431.2 MB, free: 79.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009276/0.8972, allocations: 0.5221 MB / 431.7 MB, free: 79.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8972, allocations: 0 / 431.7 MB, free: 79.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001336/0.8985, allocations: 292 kB / 432 MB, free: 79.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003727/0.9023, allocations: 1.705 MB / 433.7 MB, free: 78.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003158/0.9055, allocations: 1.421 MB / 435.1 MB, free: 77.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.9056, allocations: 3.5 kB / 435.1 MB, free: 77.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.9068, allocations: 450.1 kB / 435.6 MB, free: 77.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.9086, allocations: 239.1 kB / 435.8 MB, free: 77.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.9145, allocations: 3.05 MB / 438.9 MB, free: 75.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.915, allocations: 0.9872 MB / 439.9 MB, free: 74.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008835/0.9159, allocations: 119.4 kB / 440 MB, free: 74.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/0.9166, allocations: 346.6 kB / 440.3 MB, free: 74.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.744e-06/0.9166, allocations: 0 / 440.3 MB, free: 74.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/1.001, allocations: 22.53 MB / 462.8 MB, free: 56.61 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/1.001, allocations: 222.8 kB / 463.1 MB, free: 56.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.773/4.775, allocations: 0 / 463.1 MB, free: 56.36 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat