Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000626/0.000626, allocations: 15.94 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3641, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.337/7.702, allocations: 2.485 GB / 2.809 GB, free: 33.19 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/7.702, allocations: 87.77 kB / 2.809 GB, free: 33.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824/9.526, allocations: 348.1 MB / 3.149 GB, free: 43.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.4e-06/9.526, allocations: 0 / 3.149 GB, free: 43.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.033e-05/9.526, allocations: 23.06 kB / 3.149 GB, free: 43.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008002/9.534, allocations: 1.682 MB / 3.151 GB, free: 41.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/9.534, allocations: 8.031 kB / 3.151 GB, free: 41.44 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/9.534, allocations: 114.5 kB / 3.151 GB, free: 41.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/9.539, allocations: 399.7 kB / 3.151 GB, free: 40.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/9.54, allocations: 0.5779 MB / 3.152 GB, free: 40.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/9.541, allocations: 112.7 kB / 3.152 GB, free: 40.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/9.541, allocations: 67.91 kB / 3.152 GB, free: 40.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/9.545, allocations: 1.146 MB / 3.153 GB, free: 38.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/9.545, allocations: 4 kB / 3.153 GB, free: 38.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/9.545, allocations: 24.34 kB / 3.153 GB, free: 38.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.196e-05/9.545, allocations: 37.25 kB / 3.153 GB, free: 38.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004104/9.549, allocations: 1.078 MB / 3.154 GB, free: 37.81 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008615/9.558, allocations: 4.941 MB / 3.159 GB, free: 32.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/9.561, allocations: 0.8465 MB / 3.16 GB, free: 31.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4813/10.04, allocations: 32.76 MB / 3.192 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.048e-05/10.04, allocations: 40.66 kB / 3.192 GB, free: 52.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 5.741e-06/10.04, allocations: 0.5 kB / 3.192 GB, free: 52.58 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.04711/10.09, allocations: 5.438 MB / 3.197 GB, free: 51.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/10.09, allocations: 110.2 kB / 3.197 GB, free: 51.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/10.09, allocations: 493.4 kB / 3.198 GB, free: 51.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/10.09, allocations: 36.39 kB / 3.198 GB, free: 51.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/10.09, allocations: 394.4 kB / 3.198 GB, free: 51.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/10.09, allocations: 197 kB / 3.198 GB, free: 51.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/10.09, allocations: 13.06 kB / 3.198 GB, free: 51.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/10.09, allocations: 345.1 kB / 3.199 GB, free: 50.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/10.09, allocations: 489.5 kB / 3.199 GB, free: 50.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/10.1, allocations: 0.7125 MB / 3.2 GB, free: 50.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/10.1, allocations: 0.5183 MB / 3.2 GB, free: 50.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/10.1, allocations: 2.438 kB / 3.2 GB, free: 50.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005757/10.1, allocations: 1.602 MB / 3.202 GB, free: 50.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006797/10.1, allocations: 2.699 MB / 3.205 GB, free: 47.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/10.1, allocations: 6.969 kB / 3.205 GB, free: 47.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004422/10.11, allocations: 1.194 MB / 3.206 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/10.11, allocations: 151 kB / 3.206 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006092/10.12, allocations: 2.795 MB / 3.209 GB, free: 46.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/10.12, allocations: 98.97 kB / 3.209 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/10.12, allocations: 43.66 kB / 3.209 GB, free: 46.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/10.12, allocations: 3.5 kB / 3.209 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005477/10.12, allocations: 1.441 MB / 3.21 GB, free: 46.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/10.12, allocations: 9.625 kB / 3.21 GB, free: 46.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/10.13, allocations: 1.036 MB / 3.211 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/10.13, allocations: 169.1 kB / 3.211 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/10.14, allocations: 5.069 MB / 3.216 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/10.14, allocations: 90.67 kB / 3.216 GB, free: 42.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/10.14, allocations: 40.5 kB / 3.216 GB, free: 42.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007328/10.14, allocations: 327.6 kB / 3.217 GB, free: 42.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/10.14, allocations: 67.7 kB / 3.217 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00917/10.15, allocations: 4.534 MB / 3.221 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/10.15, allocations: 49.28 kB / 3.221 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/10.15, allocations: 0 / 3.221 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/10.15, allocations: 3.75 kB / 3.221 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/10.16, allocations: 6.477 MB / 3.228 GB, free: 41.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/10.16, allocations: 0 / 3.228 GB, free: 41.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/10.16, allocations: 90.12 kB / 3.228 GB, free: 41.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006116/10.17, allocations: 2.265 MB / 3.23 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/10.17, allocations: 24.08 kB / 3.23 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007456/10.18, allocations: 4.08 MB / 3.234 GB, free: 39.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/10.18, allocations: 0 / 3.234 GB, free: 39.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007911/10.18, allocations: 3.401 MB / 3.237 GB, free: 39.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/10.19, allocations: 376.9 kB / 3.238 GB, free: 39.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/10.19, allocations: 13.41 kB / 3.238 GB, free: 39.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/10.19, allocations: 89.64 kB / 3.238 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/10.19, allocations: 70.06 kB / 3.238 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/10.19, allocations: 29.41 kB / 3.238 GB, free: 39.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008177/10.19, allocations: 470.2 kB / 3.238 GB, free: 39 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.19, allocations: 0 / 3.238 GB, free: 39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007408/10.2, allocations: 1.425 MB / 3.24 GB, free: 38.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01871/10.21, allocations: 5.103 MB / 3.245 GB, free: 37.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01184/10.23, allocations: 2.713 MB / 3.247 GB, free: 37.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/10.23, allocations: 0 / 3.247 GB, free: 37.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005122/10.23, allocations: 1.319 MB / 3.248 GB, free: 37.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/10.23, allocations: 301.5 kB / 3.249 GB, free: 37.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2654/10.5, allocations: 86.04 MB / 3.333 GB, free: 8.875 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/10.5, allocations: 1.22 MB / 3.334 GB, free: 7.812 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/10.5, allocations: 424.4 kB / 3.334 GB, free: 7.434 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/10.5, allocations: 0 / 3.334 GB, free: 7.434 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.488/14.99, allocations: 52.61 MB / 3.386 GB, free: 65.53 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat