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.OneMass.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.OneMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.142/2.142, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3037, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.4477, allocations: 76.34 MB / 384.9 MB, free: 336 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4481, allocations: 75.97 kB / 385 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04139/0.4895, allocations: 9.521 MB / 394.5 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4895, allocations: 0 / 394.5 MB, free: 6.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.4896, allocations: 8 kB / 394.5 MB, free: 6.668 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002284/0.4919, allocations: 0.8077 MB / 395.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.4919, allocations: 8.031 kB / 395.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.4922, allocations: 83.03 kB / 395.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.4924, allocations: 59.34 kB / 395.5 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/0.4934, allocations: 393.8 kB / 395.8 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.4936, allocations: 62.36 kB / 395.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.4937, allocations: 32 kB / 395.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.4952, allocations: 0.4892 MB / 396.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.4953, allocations: 7.938 kB / 396.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.4954, allocations: 16 kB / 396.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.4954, allocations: 11.94 kB / 396.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.497, allocations: 370.4 kB / 396.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.5005, allocations: 1.268 MB / 398.1 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.502, allocations: 443.7 kB / 398.5 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.5021, allocations: 7.984 kB / 398.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.5022, allocations: 42.56 kB / 398.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.286e-06/0.5022, allocations: 4 kB / 398.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002899/0.5051, allocations: 0.7675 MB / 399.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002564/0.5054, allocations: 452.9 kB / 399.8 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.5062, allocations: 377.2 kB / 400.2 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5063, allocations: 37.7 kB / 400.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.5066, allocations: 244.4 kB / 400.4 MB, free: 300 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.5067, allocations: 118.2 kB / 400.5 MB, free: 180 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.5068, allocations: 8 kB / 400.6 MB, free: 172 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.507, allocations: 362.7 kB / 400.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.5078, allocations: 155.9 kB / 401.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.5086, allocations: 298.2 kB / 401.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.5094, allocations: 199.6 kB / 401.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.5094, allocations: 0 / 401.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001937/0.5114, allocations: 0.5076 MB / 402.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.5115, allocations: 33.7 kB / 402.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5115, allocations: 0 / 402.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.5118, allocations: 57.62 kB / 402.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.5126, allocations: 99.81 kB / 402.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.5163, allocations: 2.771 MB / 405 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.5171, allocations: 63.84 kB / 405.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.5172, allocations: 12 kB / 405.1 MB, free: 11.27 MB / 346.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 (38): * Single equations (assignments): 35 * 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.0003769/0.5176, allocations: 165.8 kB / 405.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.5177, allocations: 55.44 kB / 405.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.5179, allocations: 52.61 kB / 405.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.5179, allocations: 4 kB / 405.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5179, allocations: 7.891 kB / 405.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001747/0.5197, allocations: 0.7625 MB / 406.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.5229, allocations: 1.052 MB / 407.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5229, allocations: 0 / 407.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/0.5238, allocations: 91.88 kB / 407.3 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.5239, allocations: 11.95 kB / 407.3 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.5239, allocations: 11.98 kB / 407.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.5239, allocations: 4 kB / 407.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5239, allocations: 0 / 407.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.5264, allocations: 0.702 MB / 408 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.5266, allocations: 136.4 kB / 408.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.5268, allocations: 15.94 kB / 408.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.5274, allocations: 36.05 kB / 408.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5275, allocations: 27.95 kB / 408.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.5275, allocations: 4 kB / 408.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005902/0.5281, allocations: 315.1 kB / 408.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5282, allocations: 0 / 408.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007407/0.5289, allocations: 139.8 kB / 408.7 MB, free: 7.477 MB / 346.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 (36): * Single equations (assignments): 36 * 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.002982/0.5319, allocations: 1.258 MB / 409.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.5341, allocations: 0.6771 MB / 410.6 MB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5341, allocations: 0 / 410.6 MB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.5349, allocations: 203.6 kB / 410.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.536, allocations: 121.8 kB / 410.9 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.5398, allocations: 1.626 MB / 412.5 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.5403, allocations: 0.8316 MB / 413.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004728/0.5408, allocations: 60.23 kB / 413.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.5412, allocations: 171.3 kB / 413.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5413, allocations: 0 / 413.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3193/0.8606, allocations: 11.71 MB / 425.3 MB, free: 93.36 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.8609, allocations: 204.9 kB / 425.5 MB, free: 93.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/4.139, allocations: 0 / 425.5 MB, free: 93.12 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat