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.001486/0.001486, allocations: 105.6 kB / 17.16 MB, free: 6.082 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.002049/0.002049, allocations: 198.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3891/0.3891, allocations: 48.84 MB / 320.1 MB, free: 11.31 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.001566/0.001566, allocations: 64.75 kB / 390 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1552, allocations: 59.16 MB / 449.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.1059/0.2611, allocations: 78.7 MB / 0.5155 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3863/0.6475, allocations: 11.93 MB / 0.5271 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.6494, allocations: 26.34 kB / 0.5272 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.6512, allocations: 336.5 kB / 0.5275 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.6527, allocations: 498 kB / 0.528 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02148/0.6742, allocations: 4.814 MB / 0.5327 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.6781, allocations: 1.851 MB / 0.5345 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.679, allocations: 349.1 kB / 0.5348 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.6801, allocations: 435.5 kB / 0.5352 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008507/0.681, allocations: 488.3 kB / 0.5357 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.6811, allocations: 29.11 kB / 0.5357 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/0.6995, allocations: 6.287 MB / 0.5418 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.7, allocations: 105.3 kB / 0.5419 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.7013, allocations: 386.1 kB / 0.5423 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009535/0.7109, allocations: 2.783 MB / 0.545 GB, free: 5.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7109, allocations: 0 / 0.545 GB, free: 5.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7109, allocations: 0 / 0.545 GB, free: 5.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.7109, allocations: 0 / 0.545 GB, free: 5.477 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.006682/0.7176, allocations: 1.491 MB / 0.5465 GB, free: 4.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.211e-05/0.7177, allocations: 13.28 kB / 0.5465 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.7182, allocations: 116.1 kB / 0.5466 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.719, allocations: 0.4969 MB / 0.5471 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/0.7191, allocations: 40.97 kB / 0.5471 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/0.7192, allocations: 46.72 kB / 0.5472 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.7205, allocations: 0.6168 MB / 0.5478 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.7206, allocations: 12.25 kB / 0.5478 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.7206, allocations: 21.84 kB / 0.5478 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.7207, allocations: 13.59 kB / 0.5478 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/0.7216, allocations: 355 kB / 0.5482 GB, free: 4.109 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.004075/0.7257, allocations: 3.547 MB / 0.5516 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.7263, allocations: 185 kB / 0.5518 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.7264, allocations: 57.81 kB / 0.5519 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07487/0.8013, allocations: 31.99 MB / 0.5831 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/0.8014, allocations: 44.73 kB / 0.5831 GB, free: 9.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 3.206e-06/0.8014, allocations: 0 / 0.5831 GB, free: 9.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001765/0.8032, allocations: 356.5 kB / 0.5835 GB, free: 8.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.8033, allocations: 134.8 kB / 0.5836 GB, free: 8.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.8048, allocations: 0.7265 MB / 0.5843 GB, free: 8.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.8049, allocations: 27.89 kB / 0.5843 GB, free: 8.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.8054, allocations: 350.4 kB / 0.5847 GB, free: 8.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.8055, allocations: 44.17 kB / 0.5847 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.8057, allocations: 59.34 kB / 0.5848 GB, free: 8.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.8059, allocations: 312.1 kB / 0.5851 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.806, allocations: 64.12 kB / 0.5851 GB, free: 8.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.8062, allocations: 126.5 kB / 0.5853 GB, free: 7.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.8066, allocations: 193.5 kB / 0.5854 GB, free: 7.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.8066, allocations: 0 / 0.5854 GB, free: 7.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008018/0.8075, allocations: 287.6 kB / 0.5857 GB, free: 7.699 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.8075, allocations: 7.344 kB / 0.5857 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.8075, allocations: 6.25 kB / 0.5857 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.8076, allocations: 8.422 kB / 0.5857 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.8079, allocations: 55.31 kB / 0.5858 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.8079, allocations: 9.906 kB / 0.5858 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/0.8087, allocations: 58.33 kB / 0.5859 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.8088, allocations: 14.33 kB / 0.5859 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002726/0.809, allocations: 166.6 kB / 0.586 GB, free: 7.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002079/0.8093, allocations: 183 kB / 0.5862 GB, free: 7.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003331/0.8096, allocations: 239.6 kB / 0.5864 GB, free: 7.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/0.8096, allocations: 2.344 kB / 0.5864 GB, free: 7.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006878/0.8103, allocations: 294.2 kB / 0.5867 GB, free: 7.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8103, allocations: 5.625 kB / 0.5867 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8103, allocations: 5.375 kB / 0.5867 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.8104, allocations: 7.469 kB / 0.5867 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.8106, allocations: 58.22 kB / 0.5868 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8106, allocations: 9.641 kB / 0.5868 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.8113, allocations: 28.02 kB / 0.5868 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.8113, allocations: 19.98 kB / 0.5868 GB, free: 7.047 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.0001893/0.8115, allocations: 196.6 kB / 0.587 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.8118, allocations: 79.12 kB / 0.5871 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.8127, allocations: 0.5065 MB / 0.5876 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.8127, allocations: 2.469 kB / 0.5876 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8127, allocations: 2.469 kB / 0.5876 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8127, allocations: 0 / 0.5876 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.814, allocations: 0.6158 MB / 0.5882 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.814, allocations: 2.688 kB / 0.5882 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.8141, allocations: 25.08 kB / 0.5882 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8142, allocations: 7.938 kB / 0.5882 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.8142, allocations: 0 / 0.5882 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.8142, allocations: 4 kB / 0.5882 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8142, allocations: 4 kB / 0.5882 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.8148, allocations: 0.5029 MB / 0.5887 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.8151, allocations: 152.6 kB / 0.5889 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.8154, allocations: 32.12 kB / 0.5889 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.8159, allocations: 19.83 kB / 0.5889 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.8159, allocations: 11.98 kB / 0.5889 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.8159, allocations: 3.438 kB / 0.5889 GB, free: 5.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.8171, allocations: 0.7288 MB / 0.5897 GB, free: 4.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.8171, allocations: 0 / 0.5897 GB, free: 4.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006551/0.8237, allocations: 1.039 MB / 0.5907 GB, free: 3.918 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.008762/0.8325, allocations: 0.9917 MB / 0.5916 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007086/0.8332, allocations: 200.6 kB / 0.5918 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8332, allocations: 1.875 kB / 0.5918 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.8333, allocations: 41.22 kB / 0.5919 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/0.8371, allocations: 455.6 kB / 0.5923 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.8404, allocations: 1.361 MB / 0.5936 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.8413, allocations: 0.933 MB / 0.5946 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.8415, allocations: 54.14 kB / 0.5946 GB, free: 140 kB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.8415, allocations: 0 / 0.5946 GB, free: 140 kB / 446.1 MB Notification: Performance of Templates: time 0.05081/0.8923, allocations: 24.4 MB / 0.6184 GB, free: 7.953 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