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.001343/0.001344, allocations: 96.77 kB / 16.96 MB, free: 6.41 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.001381/0.001382, allocations: 179 kB / 17.84 MB, free: 5.969 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.978/1.978, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3709/0.3709, allocations: 48.77 MB / 321.1 MB, free: 11.23 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.0007332/0.0007332, allocations: 15.75 kB / 391.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1478, allocations: 60.27 MB / 452.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03282/0.1806, allocations: 30.24 MB / 482.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1923, allocations: 7.595 MB / 489.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.1931, allocations: 4 kB / 489.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.1937, allocations: 103.3 kB / 490 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.1943, allocations: 222.5 kB / 490.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.2073, allocations: 3.352 MB / 493.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.2086, allocations: 0.6575 MB / 494.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.209, allocations: 176.8 kB / 494.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.2094, allocations: 187.2 kB / 494.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.2097, allocations: 203.1 kB / 494.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.2097, allocations: 12 kB / 494.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.2222, allocations: 5.735 MB / 0.4888 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2224, allocations: 55.75 kB / 0.4888 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.2226, allocations: 89.52 kB / 0.4889 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.2285, allocations: 2.327 MB / 0.4912 GB, free: 6.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2286, allocations: 0 / 0.4912 GB, free: 6.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.2286, allocations: 8 kB / 0.4912 GB, free: 6.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2286, allocations: 0 / 0.4912 GB, free: 6.461 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.00354/0.2322, allocations: 1.002 MB / 0.4922 GB, free: 5.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.2322, allocations: 12.02 kB / 0.4922 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.2324, allocations: 59.47 kB / 0.4923 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.2328, allocations: 286.3 kB / 0.4925 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2328, allocations: 20.56 kB / 0.4926 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.2329, allocations: 24 kB / 0.4926 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.2336, allocations: 333.3 kB / 0.4929 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2336, allocations: 0 / 0.4929 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.2336, allocations: 15.98 kB / 0.4929 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2337, allocations: 7.953 kB / 0.4929 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.2342, allocations: 266 kB / 0.4932 GB, free: 4.344 MB / 382.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.001678/0.2359, allocations: 1.325 MB / 0.4945 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.2365, allocations: 234.1 kB / 0.4947 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.2368, allocations: 136.7 kB / 0.4948 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3774/0.6142, allocations: 32.29 MB / 0.5263 GB, free: 85.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.6143, allocations: 37.27 kB / 0.5264 GB, free: 85.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 4.689e-06/0.6143, allocations: 0 / 0.5264 GB, free: 85.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.003402/0.6177, allocations: 1.088 MB / 0.5274 GB, free: 85.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.6178, allocations: 56.36 kB / 0.5275 GB, free: 85.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.6183, allocations: 309.3 kB / 0.5278 GB, free: 85.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.6184, allocations: 32.05 kB / 0.5278 GB, free: 85.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.6185, allocations: 186.1 kB / 0.528 GB, free: 85.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6186, allocations: 97.88 kB / 0.5281 GB, free: 84.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.6186, allocations: 6.469 kB / 0.5281 GB, free: 84.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.6188, allocations: 347.2 kB / 0.5284 GB, free: 84.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.6191, allocations: 119 kB / 0.5285 GB, free: 84.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.6194, allocations: 134.1 kB / 0.5287 GB, free: 84.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.6197, allocations: 122.1 kB / 0.5288 GB, free: 84.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.6197, allocations: 1.75 kB / 0.5288 GB, free: 84.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001076/0.6208, allocations: 436.1 kB / 0.5292 GB, free: 84.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.6208, allocations: 99.8 kB / 0.5293 GB, free: 84.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6209, allocations: 1.797 kB / 0.5293 GB, free: 84.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.6221, allocations: 259.8 kB / 0.5296 GB, free: 84.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.6223, allocations: 37.52 kB / 0.5296 GB, free: 84.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.6235, allocations: 0.8107 MB / 0.5304 GB, free: 83.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.6239, allocations: 33.19 kB / 0.5304 GB, free: 83.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.6239, allocations: 6.219 kB / 0.5304 GB, free: 83.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.624, allocations: 6.375 kB / 0.5304 GB, free: 83.92 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000933/0.6249, allocations: 361.8 kB / 0.5308 GB, free: 83.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6249, allocations: 0 / 0.5308 GB, free: 83.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.6261, allocations: 250.4 kB / 0.531 GB, free: 83.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.6263, allocations: 43.92 kB / 0.531 GB, free: 83.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009756/0.6272, allocations: 0.782 MB / 0.5318 GB, free: 83.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.6276, allocations: 38.78 kB / 0.5319 GB, free: 83.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.6276, allocations: 11.59 kB / 0.5319 GB, free: 83.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.6279, allocations: 212.2 kB / 0.5321 GB, free: 83.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/0.628, allocations: 36.64 kB / 0.5321 GB, free: 83.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.6295, allocations: 0.5743 MB / 0.5327 GB, free: 83.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.6295, allocations: 9.672 kB / 0.5327 GB, free: 83.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6295, allocations: 0 / 0.5327 GB, free: 83.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6295, allocations: 2.109 kB / 0.5327 GB, free: 83.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.6318, allocations: 1.062 MB / 0.5337 GB, free: 82.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.6318, allocations: 0 / 0.5337 GB, free: 82.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.6322, allocations: 82.23 kB / 0.5338 GB, free: 82.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.6325, allocations: 52.03 kB / 0.5338 GB, free: 82.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.6326, allocations: 7.312 kB / 0.5338 GB, free: 82.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.6338, allocations: 1.333 MB / 0.5351 GB, free: 81.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6338, allocations: 5.281 kB / 0.5351 GB, free: 81.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.6353, allocations: 0.7188 MB / 0.5359 GB, free: 80.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.6355, allocations: 130.3 kB / 0.536 GB, free: 80.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.522e-05/0.6356, allocations: 6.781 kB / 0.536 GB, free: 80.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.6359, allocations: 29.75 kB / 0.536 GB, free: 80.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.636, allocations: 28.33 kB / 0.536 GB, free: 80.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.636, allocations: 10.81 kB / 0.536 GB, free: 80.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.6364, allocations: 219.6 kB / 0.5363 GB, free: 80.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6364, allocations: 0 / 0.5363 GB, free: 80.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003933/0.6403, allocations: 0.8688 MB / 0.5371 GB, free: 80.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004103/0.6444, allocations: 0.9449 MB / 0.538 GB, free: 80.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.6464, allocations: 0.6148 MB / 0.5386 GB, free: 80.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6464, allocations: 0 / 0.5386 GB, free: 80.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.647, allocations: 321 kB / 0.5389 GB, free: 80.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.648, allocations: 148.2 kB / 0.5391 GB, free: 80 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.6502, allocations: 1.241 MB / 0.5403 GB, free: 79.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.6507, allocations: 0.8027 MB / 0.5411 GB, free: 78.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.6508, allocations: 26.94 kB / 0.5411 GB, free: 78.54 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6508, allocations: 4 kB / 0.5411 GB, free: 78.54 MB / 414.1 MB Notification: Performance of Templates: time 0.03902/0.6898, allocations: 19.72 MB / 0.5604 GB, free: 66.74 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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