Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003571, allocations: 12 kB / 264 MB, free: 13.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09817, allocations: 44.51 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5286, allocations: 76.34 MB / 384.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.529, allocations: 71.53 kB / 384.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03797/0.5669, allocations: 9.524 MB / 394.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.567, allocations: 0 / 394.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.635e-05/0.5671, allocations: 11.72 kB / 394.5 MB, free: 13.86 MB / 314.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.001838/0.5689, allocations: 0.7984 MB / 395.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.569, allocations: 11.59 kB / 395.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/0.5692, allocations: 79.41 kB / 395.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.5694, allocations: 65.44 kB / 395.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.5701, allocations: 396.6 kB / 395.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.5702, allocations: 60.39 kB / 395.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.5703, allocations: 33.44 kB / 395.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.5715, allocations: 497.8 kB / 396.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.5716, allocations: 3.844 kB / 396.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.5716, allocations: 14.69 kB / 396.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5717, allocations: 11.66 kB / 396.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.573, allocations: 370 kB / 396.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.576, allocations: 1.273 MB / 398.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5773, allocations: 450.5 kB / 398.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.5774, allocations: 11.7 kB / 398.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5774, allocations: 38.25 kB / 398.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.256e-06/0.5774, allocations: 0 / 398.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002515/0.5799, allocations: 0.7753 MB / 399.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5801, allocations: 445.9 kB / 399.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.5808, allocations: 385.2 kB / 400.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/0.5809, allocations: 33.52 kB / 400.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.581, allocations: 271 kB / 400.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.5812, allocations: 125.8 kB / 400.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.5812, allocations: 8.594 kB / 400.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.5813, allocations: 332 kB / 400.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.582, allocations: 153.7 kB / 401 MB, free: 10.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/0.5827, allocations: 302.1 kB / 401.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.5834, allocations: 198 kB / 401.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5834, allocations: 0 / 401.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001529/0.585, allocations: 487.3 kB / 402 MB, free: 10.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.5851, allocations: 37.23 kB / 402 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5851, allocations: 0 / 402 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.5853, allocations: 54.48 kB / 402.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/0.5861, allocations: 98.98 kB / 402.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.5887, allocations: 2.762 MB / 404.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.5896, allocations: 71.89 kB / 405 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.5896, allocations: 11.28 kB / 405 MB, free: 7.625 MB / 314.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.0003472/0.59, allocations: 167 kB / 405.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.5901, allocations: 46.5 kB / 405.2 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.5903, allocations: 58.42 kB / 405.3 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5903, allocations: 3.875 kB / 405.3 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5903, allocations: 11.77 kB / 405.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/0.5918, allocations: 0.7543 MB / 406.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.5943, allocations: 1.062 MB / 407.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5944, allocations: 0 / 407.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.5952, allocations: 94.34 kB / 407.2 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.5953, allocations: 15.73 kB / 407.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.5953, allocations: 6.75 kB / 407.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5953, allocations: 3.875 kB / 407.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5953, allocations: 0 / 407.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.5975, allocations: 0.6956 MB / 407.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.5977, allocations: 133.1 kB / 408.1 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5979, allocations: 14.11 kB / 408.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.5984, allocations: 34.3 kB / 408.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5985, allocations: 26.03 kB / 408.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.5986, allocations: 10.75 kB / 408.2 MB, free: 6.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005/0.5991, allocations: 313.6 kB / 408.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5991, allocations: 0 / 408.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007115/0.5998, allocations: 143.7 kB / 408.6 MB, free: 6.137 MB / 314.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.002415/0.6022, allocations: 1.265 MB / 409.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.6041, allocations: 0.6764 MB / 410.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6042, allocations: 0 / 410.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.6049, allocations: 199.4 kB / 410.7 MB, free: 5.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.6059, allocations: 130.9 kB / 410.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.6092, allocations: 1.645 MB / 412.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.6097, allocations: 0.8363 MB / 413.3 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.6102, allocations: 170.7 kB / 413.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6102, allocations: 0 / 413.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.948/3.558, allocations: 10.22 MB / 423.7 MB, free: 14.08 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat