Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.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.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006462/0.0006463, allocations: 94.34 kB / 17.31 MB, free: 6.535 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.0006957/0.0006957, allocations: 175.2 kB / 18.21 MB, free: 5.684 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.142/1.142, 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.226/0.226, allocations: 48.78 MB / 321.5 MB, free: 11.11 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.0004502/0.0004503, allocations: 15.19 kB / 392.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08045, allocations: 60.26 MB / 452.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.02732/0.1078, allocations: 32.64 MB / 485.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008784/0.1166, allocations: 8.71 MB / 494.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.117, allocations: 7.938 kB / 494.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.1174, allocations: 111.3 kB / 494.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1178, allocations: 190.8 kB / 494.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008003/0.1258, allocations: 3.513 MB / 497.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.1265, allocations: 0.7511 MB / 498.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.1267, allocations: 190.8 kB / 498.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.1269, allocations: 187.2 kB / 499 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1272, allocations: 222.9 kB / 499.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1272, allocations: 16 kB / 499.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008161/0.1354, allocations: 5.935 MB / 0.4933 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.1355, allocations: 55.7 kB / 0.4934 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.1356, allocations: 196.8 kB / 0.4936 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.1384, allocations: 2.331 MB / 0.4959 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1384, allocations: 0 / 0.4959 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1384, allocations: 0 / 0.4959 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1384, allocations: 3.938 kB / 0.4959 GB, free: 1.961 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001926/0.1404, allocations: 1.006 MB / 0.4968 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1404, allocations: 8.031 kB / 0.4969 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1406, allocations: 48.47 kB / 0.4969 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1409, allocations: 307.2 kB / 0.4972 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1409, allocations: 20.94 kB / 0.4972 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.141, allocations: 24.38 kB / 0.4972 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.1415, allocations: 341.2 kB / 0.4976 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1416, allocations: 0 / 0.4976 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.1416, allocations: 8 kB / 0.4976 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1416, allocations: 8 kB / 0.4976 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.1422, allocations: 258 kB / 0.4978 GB, free: 15.85 MB / 398.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.001269/0.1434, allocations: 1.337 MB / 0.4991 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.1439, allocations: 242.1 kB / 0.4994 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1442, allocations: 128.8 kB / 0.4995 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2146/0.3588, allocations: 32.27 MB / 0.531 GB, free: 81.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3589, allocations: 36.77 kB / 0.531 GB, free: 81.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.3589, allocations: 3.719 kB / 0.531 GB, free: 81.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002539/0.3614, allocations: 1.095 MB / 0.5321 GB, free: 81.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.3615, allocations: 55.31 kB / 0.5322 GB, free: 81.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.3618, allocations: 305.9 kB / 0.5324 GB, free: 81.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3618, allocations: 34.67 kB / 0.5325 GB, free: 81.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.3619, allocations: 180.5 kB / 0.5327 GB, free: 81.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.362, allocations: 98.78 kB / 0.5327 GB, free: 81.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.362, allocations: 32.28 kB / 0.5328 GB, free: 81.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.3621, allocations: 342.1 kB / 0.5331 GB, free: 80.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3624, allocations: 115.2 kB / 0.5332 GB, free: 80.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.3626, allocations: 147.9 kB / 0.5334 GB, free: 80.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.3632, allocations: 267.2 kB / 0.5336 GB, free: 80.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3632, allocations: 0.9375 kB / 0.5336 GB, free: 80.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001217/0.3644, allocations: 0.5095 MB / 0.5341 GB, free: 80.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.3645, allocations: 100.7 kB / 0.5342 GB, free: 80.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3645, allocations: 1.375 kB / 0.5342 GB, free: 80.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3656, allocations: 261.7 kB / 0.5345 GB, free: 80.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3657, allocations: 47 kB / 0.5345 GB, free: 80.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/0.3666, allocations: 0.8062 MB / 0.5353 GB, free: 79.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3668, allocations: 32.55 kB / 0.5353 GB, free: 79.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3668, allocations: 6.312 kB / 0.5353 GB, free: 79.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.3668, allocations: 3.906 kB / 0.5353 GB, free: 79.93 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/0.3679, allocations: 442.6 kB / 0.5358 GB, free: 79.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.3679, allocations: 1.688 kB / 0.5358 GB, free: 79.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/0.3689, allocations: 243.6 kB / 0.536 GB, free: 79.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3691, allocations: 40.2 kB / 0.536 GB, free: 79.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007303/0.3698, allocations: 0.7899 MB / 0.5368 GB, free: 79.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.37, allocations: 31.98 kB / 0.5368 GB, free: 79.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.37, allocations: 11.09 kB / 0.5368 GB, free: 79.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {(6,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.3702, allocations: 215.9 kB / 0.537 GB, free: 79.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.3702, allocations: 37.73 kB / 0.5371 GB, free: 79.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.3712, allocations: 0.5821 MB / 0.5376 GB, free: 79.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3712, allocations: 5.469 kB / 0.5377 GB, free: 79.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3712, allocations: 0.6094 kB / 0.5377 GB, free: 79.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3712, allocations: 1.219 kB / 0.5377 GB, free: 79.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.3726, allocations: 1.065 MB / 0.5387 GB, free: 78.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3726, allocations: 3.328 kB / 0.5387 GB, free: 78.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.3729, allocations: 74.03 kB / 0.5388 GB, free: 78.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/0.3731, allocations: 61.28 kB / 0.5388 GB, free: 78.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3732, allocations: 11.98 kB / 0.5388 GB, free: 78.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007464/0.3739, allocations: 1.324 MB / 0.5401 GB, free: 77.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3739, allocations: 3.844 kB / 0.5401 GB, free: 77.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.375, allocations: 0.7251 MB / 0.5408 GB, free: 76.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.3751, allocations: 132.7 kB / 0.541 GB, free: 76.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.3751, allocations: 6.719 kB / 0.541 GB, free: 76.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3753, allocations: 21.92 kB / 0.541 GB, free: 76.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.3754, allocations: 30.97 kB / 0.541 GB, free: 76.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3754, allocations: 7.016 kB / 0.541 GB, free: 76.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.3756, allocations: 218.1 kB / 0.5412 GB, free: 76.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3756, allocations: 0 / 0.5412 GB, free: 76.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001968/0.3776, allocations: 0.8781 MB / 0.5421 GB, free: 76.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.Mg,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(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.002721/0.3803, allocations: 0.9366 MB / 0.543 GB, free: 76.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.3819, allocations: 0.6283 MB / 0.5436 GB, free: 76.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3819, allocations: 0 / 0.5436 GB, free: 76.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.3824, allocations: 327.8 kB / 0.5439 GB, free: 75.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.3832, allocations: 144.3 kB / 0.5441 GB, free: 75.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3845, allocations: 1.259 MB / 0.5453 GB, free: 75.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.3847, allocations: 0.8005 MB / 0.5461 GB, free: 74.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/0.3848, allocations: 27.78 kB / 0.5461 GB, free: 74.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3848, allocations: 1.188 kB / 0.5461 GB, free: 74.34 MB / 414.1 MB Notification: Performance of Templates: time 0.02112/0.4059, allocations: 19.71 MB / 0.5654 GB, free: 61.62 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.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.TestAccumulatorCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestAccumulatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestAccumulatorCalcHelperMain.o] Error 1