Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.691/1.691, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 8 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08351, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4365, allocations: 70.39 MB / 342.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.4368, allocations: 76.83 kB / 342.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03787/0.4747, allocations: 9.039 MB / 351.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.879e-06/0.4748, allocations: 3.984 kB / 351.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.807e-05/0.4748, allocations: 12 kB / 351.6 MB, free: 10.82 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001812/0.4767, allocations: 0.7501 MB / 352.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.4767, allocations: 8.031 kB / 352.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.477, allocations: 76.53 kB / 352.5 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.4771, allocations: 59.34 kB / 352.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.4779, allocations: 364.1 kB / 352.9 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.4781, allocations: 60.44 kB / 352.9 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.338e-05/0.4782, allocations: 31 kB / 353 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.4793, allocations: 462.4 kB / 353.4 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4794, allocations: 0 / 353.4 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.4794, allocations: 16.75 kB / 353.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4795, allocations: 8 kB / 353.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.4805, allocations: 300.6 kB / 353.7 MB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.4838, allocations: 1.24 MB / 355 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.4857, allocations: 449.6 kB / 355.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.4859, allocations: 8.281 kB / 355.4 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.4859, allocations: 38.47 kB / 355.5 MB, free: 7.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.336e-06/0.4859, allocations: 0 / 355.5 MB, free: 7.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001929/0.4879, allocations: 0.6205 MB / 356.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.4881, allocations: 448.5 kB / 356.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/0.4888, allocations: 385.7 kB / 356.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.392e-05/0.4889, allocations: 37.02 kB / 356.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.4891, allocations: 229.2 kB / 357.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.4893, allocations: 119.1 kB / 357.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.4893, allocations: 7.375 kB / 357.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4895, allocations: 360.1 kB / 357.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.49, allocations: 110.9 kB / 357.8 MB, free: 5.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.4906, allocations: 262.8 kB / 358 MB, free: 5.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.4911, allocations: 165.1 kB / 358.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4911, allocations: 0 / 358.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001317/0.4924, allocations: 431.8 kB / 358.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.4925, allocations: 41.66 kB / 358.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4925, allocations: 0 / 358.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.4928, allocations: 47.95 kB / 358.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.4934, allocations: 71.48 kB / 358.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.4967, allocations: 2.771 MB / 361.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.4974, allocations: 55 kB / 361.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.4975, allocations: 11.75 kB / 361.6 MB, free: 1.578 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003353/0.4978, allocations: 166.6 kB / 361.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.498, allocations: 51.44 kB / 361.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.4981, allocations: 52.33 kB / 361.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4981, allocations: 7.938 kB / 361.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.4982, allocations: 3.953 kB / 361.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/0.4992, allocations: 0.6646 MB / 362.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.5014, allocations: 0.903 MB / 363.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5014, allocations: 4 kB / 363.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.5021, allocations: 67.66 kB / 363.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.5021, allocations: 15.94 kB / 363.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.5022, allocations: 3.625 kB / 363.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.5022, allocations: 4 kB / 363.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5022, allocations: 0 / 363.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.5037, allocations: 0.5322 MB / 364.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.5039, allocations: 132.2 kB / 364.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.5041, allocations: 13.45 kB / 364.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.5045, allocations: 15.67 kB / 364.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.5046, allocations: 23.59 kB / 364.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.5046, allocations: 7.688 kB / 364.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005663/0.5052, allocations: 306.5 kB / 364.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.517e-06/0.5052, allocations: 12 kB / 364.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006644/0.5059, allocations: 134.3 kB / 364.7 MB, free: 14.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.5078, allocations: 1.094 MB / 365.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.5092, allocations: 0.5784 MB / 366.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5093, allocations: 4 kB / 366.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.5097, allocations: 134 kB / 366.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.5106, allocations: 119.2 kB / 366.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.5143, allocations: 1.559 MB / 368.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.5148, allocations: 0.8276 MB / 369 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.5153, allocations: 52.25 kB / 369 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.5156, allocations: 154.8 kB / 369.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5156, allocations: 0 / 369.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/0.5599, allocations: 10.91 MB / 380.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.5603, allocations: 216.3 kB / 380.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.57, allocations: 0 / 380.3 MB, free: 15.57 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat