Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 91.75 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007083/0.0007084, allocations: 182.4 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.141/1.141, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.227/0.227, allocations: 48.78 MB / 321.5 MB, free: 11.1 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 18.2 kB / 392.5 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0756/0.07605, allocations: 60.26 MB / 452.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.03816/0.1142, allocations: 45.29 MB / 498 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.1273, allocations: 12.19 MB / 0.4982 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.1277, allocations: 7.938 kB / 0.4983 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.1284, allocations: 294.4 kB / 0.4985 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009418/0.1294, allocations: 0.6183 MB / 0.4991 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00733/0.1367, allocations: 3.385 MB / 0.5024 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.1392, allocations: 2.924 MB / 0.5053 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/0.1397, allocations: 452.5 kB / 0.5057 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.1403, allocations: 0.5563 MB / 0.5063 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.1411, allocations: 0.7472 MB / 0.507 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.1412, allocations: 36 kB / 0.507 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008941/0.1501, allocations: 6.235 MB / 0.5131 GB, free: 220 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.1504, allocations: 283.1 kB / 0.5134 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.1509, allocations: 463.5 kB / 0.5138 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.1539, allocations: 2.943 MB / 0.5167 GB, free: 12.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1539, allocations: 4 kB / 0.5167 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1539, allocations: 0 / 0.5167 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.154, allocations: 0 / 0.5167 GB, free: 12.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003424/0.1574, allocations: 1.501 MB / 0.5182 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1574, allocations: 12.03 kB / 0.5182 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.1583, allocations: 199.8 kB / 0.5184 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.1592, allocations: 0.5774 MB / 0.5189 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.1592, allocations: 50.38 kB / 0.519 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1594, allocations: 88.2 kB / 0.5191 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003704/0.1631, allocations: 1.722 MB / 0.5208 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1631, allocations: 3.984 kB / 0.5208 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.1632, allocations: 31.98 kB / 0.5208 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.1632, allocations: 33.98 kB / 0.5208 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.1668, allocations: 1.651 MB / 0.5224 GB, free: 6.555 MB / 414.1 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.003933/0.1708, allocations: 3.645 MB / 0.526 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.1736, allocations: 1.194 MB / 0.5272 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.174, allocations: 290.4 kB / 0.5274 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2631/0.4371, allocations: 64.58 MB / 0.5905 GB, free: 31.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.4372, allocations: 48.42 kB / 0.5906 GB, free: 31.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.384e-06/0.4372, allocations: 0 / 0.5906 GB, free: 31.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.005451/0.4427, allocations: 2.11 MB / 0.5926 GB, free: 29.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.4427, allocations: 55.97 kB / 0.5927 GB, free: 29.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.4432, allocations: 0.5219 MB / 0.5932 GB, free: 28.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.4433, allocations: 37.7 kB / 0.5932 GB, free: 28.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4434, allocations: 360.5 kB / 0.5936 GB, free: 28.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.4436, allocations: 193.3 kB / 0.5937 GB, free: 28.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4437, allocations: 67.17 kB / 0.5938 GB, free: 28.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.4438, allocations: 374.8 kB / 0.5942 GB, free: 27.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006465/0.4445, allocations: 0.5049 MB / 0.5947 GB, free: 27.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.4452, allocations: 0.6543 MB / 0.5953 GB, free: 26.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.4465, allocations: 1.116 MB / 0.5964 GB, free: 25.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4465, allocations: 4 kB / 0.5964 GB, free: 25.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002696/0.4492, allocations: 1.87 MB / 0.5982 GB, free: 23.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.4493, allocations: 172.8 kB / 0.5984 GB, free: 23.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4493, allocations: 0 / 0.5984 GB, free: 23.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003616/0.4529, allocations: 1.617 MB / 0.6 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.4532, allocations: 67.89 kB / 0.6 GB, free: 21.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.4557, allocations: 2.191 MB / 0.6022 GB, free: 19.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.4564, allocations: 123.2 kB / 0.6023 GB, free: 19.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.4566, allocations: 75.92 kB / 0.6024 GB, free: 19.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.4566, allocations: 7.984 kB / 0.6024 GB, free: 19.13 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/0.459, allocations: 1.736 MB / 0.6041 GB, free: 17.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.459, allocations: 7.844 kB / 0.6041 GB, free: 17.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/0.4616, allocations: 1.491 MB / 0.6055 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.4618, allocations: 73.53 kB / 0.6056 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.4643, allocations: 2.151 MB / 0.6077 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.465, allocations: 115.4 kB / 0.6078 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.4651, allocations: 72.58 kB / 0.6079 GB, free: 13.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0003758/0.4655, allocations: 324.9 kB / 0.6082 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4656, allocations: 67.23 kB / 0.6082 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005411/0.471, allocations: 7.932 MB / 0.616 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.4711, allocations: 19.97 kB / 0.616 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4711, allocations: 0 / 0.616 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.4711, allocations: 7.938 kB / 0.616 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.4734, allocations: 3.816 MB / 0.6197 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4734, allocations: 4.094 kB / 0.6197 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.4747, allocations: 215.6 kB / 0.62 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.4752, allocations: 145.5 kB / 0.6201 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.4753, allocations: 23.73 kB / 0.6201 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.4779, allocations: 4.025 MB / 0.624 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4779, allocations: 0 / 0.624 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.4806, allocations: 1.944 MB / 0.6259 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.4809, allocations: 235.7 kB / 0.6262 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.481, allocations: 12 kB / 0.6262 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.4816, allocations: 83.88 kB / 0.6263 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4817, allocations: 40.48 kB / 0.6263 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.4818, allocations: 23.98 kB / 0.6263 GB, free: 9.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.4822, allocations: 358.8 kB / 0.6267 GB, free: 9.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4822, allocations: 0 / 0.6267 GB, free: 9.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00279/0.485, allocations: 1.214 MB / 0.6278 GB, free: 8.461 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003461/0.4884, allocations: 0.9907 MB / 0.6288 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003326/0.4918, allocations: 1.992 MB / 0.6308 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4918, allocations: 0 / 0.6308 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.4936, allocations: 0.8986 MB / 0.6316 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.4951, allocations: 299.9 kB / 0.6319 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.4982, allocations: 2.653 MB / 0.6345 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.4987, allocations: 1.07 MB / 0.6356 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.4989, allocations: 63.41 kB / 0.6356 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4989, allocations: 4 kB / 0.6356 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of Templates: time 0.03991/0.5389, allocations: 36.22 MB / 0.671 GB, free: 12.3 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdealCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdealCalcHelperMain.o] Error 1