Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006997/0.0006997, allocations: 93.16 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.000711/0.0007111, allocations: 174.8 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.19/1.19, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2374/0.2374, allocations: 48.78 MB / 321.5 MB, free: 11.12 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.0004751/0.0004752, allocations: 14.38 kB / 392.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07485/0.07534, allocations: 60.26 MB / 452.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.06298/0.1383, allocations: 77.35 MB / 0.5176 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.191/0.3294, allocations: 11.75 MB / 0.5291 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.3303, allocations: 25.97 kB / 0.5291 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008896/0.3312, allocations: 326.8 kB / 0.5295 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008797/0.3321, allocations: 497.2 kB / 0.5299 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.3444, allocations: 4.812 MB / 0.5346 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.3464, allocations: 1.859 MB / 0.5364 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.3468, allocations: 338.7 kB / 0.5368 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.3473, allocations: 434.3 kB / 0.5372 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.3478, allocations: 476.3 kB / 0.5376 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.3479, allocations: 25.06 kB / 0.5377 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.3582, allocations: 6.29 MB / 0.5438 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.3583, allocations: 100.2 kB / 0.5439 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.3587, allocations: 400.3 kB / 0.5443 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.3617, allocations: 2.766 MB / 0.547 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3617, allocations: 1.406 kB / 0.547 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3617, allocations: 0.6562 kB / 0.547 GB, free: 6.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3617, allocations: 0 / 0.547 GB, free: 6.496 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002547/0.3643, allocations: 1.347 MB / 0.5483 GB, free: 5.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3643, allocations: 9.125 kB / 0.5483 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3647, allocations: 117.4 kB / 0.5484 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.3652, allocations: 0.4997 MB / 0.5489 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.3652, allocations: 41.16 kB / 0.5489 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.3653, allocations: 49.34 kB / 0.549 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.3662, allocations: 0.6202 MB / 0.5496 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3662, allocations: 6.984 kB / 0.5496 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.3662, allocations: 20.84 kB / 0.5496 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.3663, allocations: 12.84 kB / 0.5496 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.3669, allocations: 357.9 kB / 0.55 GB, free: 5.168 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.002144/0.3691, allocations: 3.556 MB / 0.5535 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3694, allocations: 186.8 kB / 0.5536 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.3695, allocations: 53.94 kB / 0.5537 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05692/0.4265, allocations: 32.3 MB / 0.5852 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4265, allocations: 37.3 kB / 0.5853 GB, free: 9.895 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.4265, allocations: 3.281 kB / 0.5853 GB, free: 9.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001184/0.4277, allocations: 358.3 kB / 0.5856 GB, free: 9.762 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.4278, allocations: 135.2 kB / 0.5857 GB, free: 9.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.4285, allocations: 0.7277 MB / 0.5864 GB, free: 9.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4286, allocations: 29.52 kB / 0.5865 GB, free: 9.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.4288, allocations: 355.2 kB / 0.5868 GB, free: 9.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.4288, allocations: 48.83 kB / 0.5869 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.4289, allocations: 23.47 kB / 0.5869 GB, free: 9.148 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.429, allocations: 317.2 kB / 0.5872 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.602e-05/0.4291, allocations: 46.62 kB / 0.5872 GB, free: 8.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.4292, allocations: 137 kB / 0.5874 GB, free: 8.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.4295, allocations: 196.9 kB / 0.5875 GB, free: 8.621 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4295, allocations: 1.219 kB / 0.5875 GB, free: 8.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003823/0.4299, allocations: 288.8 kB / 0.5878 GB, free: 8.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.43, allocations: 167.8 kB / 0.588 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.43, allocations: 1.781 kB / 0.588 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.43, allocations: 6.125 kB / 0.588 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.4303, allocations: 54.38 kB / 0.588 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.4303, allocations: 9.484 kB / 0.5881 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.4308, allocations: 55.97 kB / 0.5881 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.4308, allocations: 17.08 kB / 0.5881 GB, free: 8.289 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-06/0.4308, allocations: 3.375 kB / 0.5881 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002193/0.4311, allocations: 156.2 kB / 0.5883 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4311, allocations: 8.688 kB / 0.5883 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.4311, allocations: 3.062 kB / 0.5883 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.4313, allocations: 55.22 kB / 0.5883 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.4313, allocations: 2.594 kB / 0.5883 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.4316, allocations: 56.62 kB / 0.5884 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4316, allocations: 14.91 kB / 0.5884 GB, free: 8.227 MB / 446.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 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.4318, allocations: 248.2 kB / 0.5886 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4319, allocations: 82.66 kB / 0.5887 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.4324, allocations: 0.4944 MB / 0.5892 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4325, allocations: 2.625 kB / 0.5892 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.4325, allocations: 0 / 0.5892 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4325, allocations: 1.969 kB / 0.5892 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.4332, allocations: 0.6173 MB / 0.5898 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4332, allocations: 1.562 kB / 0.5898 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.4332, allocations: 25.02 kB / 0.5898 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4333, allocations: 2.906 kB / 0.5898 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4333, allocations: 7.484 kB / 0.5898 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4333, allocations: 0 / 0.5898 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4333, allocations: 1.344 kB / 0.5899 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.4336, allocations: 0.5065 MB / 0.5903 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.4338, allocations: 246.8 kB / 0.5906 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.4339, allocations: 3.984 kB / 0.5906 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.4343, allocations: 11.94 kB / 0.5906 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.4343, allocations: 15.42 kB / 0.5906 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4343, allocations: 11.94 kB / 0.5906 GB, free: 6.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007177/0.4351, allocations: 0.7294 MB / 0.5913 GB, free: 6.594 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4351, allocations: 0 / 0.5913 GB, free: 6.594 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003033/0.4381, allocations: 1.043 MB / 0.5924 GB, free: 6.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002997/0.4411, allocations: 0.9781 MB / 0.5933 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.4414, allocations: 192.3 kB / 0.5935 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4414, allocations: 4 kB / 0.5935 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.4415, allocations: 35.02 kB / 0.5935 GB, free: 5.363 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.4441, allocations: 464.6 kB / 0.594 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.4455, allocations: 1.386 MB / 0.5953 GB, free: 3.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.4459, allocations: 0.9291 MB / 0.5962 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.446, allocations: 55.17 kB / 0.5963 GB, free: 2.621 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.446, allocations: 2.844 kB / 0.5963 GB, free: 2.621 MB / 446.1 MB Notification: Performance of Templates: time 0.0308/0.4769, allocations: 24.3 MB / 0.62 GB, free: 10.54 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.TestCoeffValveCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValveCalcHelperMain.o] Error 1