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.0009503/0.0009502, allocations: 94.86 kB / 16.96 MB, free: 6.02 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.0008999/0.0008998, allocations: 181.1 kB / 17.85 MB, free: 5.676 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.914/1.914, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3798/0.3798, allocations: 48.78 MB / 321.1 MB, free: 11.2 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.0006704/0.0006704, allocations: 16.28 kB / 391.8 MB, free: 50.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1596, allocations: 60.27 MB / 452.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.07937/0.239, allocations: 72.34 MB / 0.5121 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.2553, allocations: 10.47 MB / 0.5223 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.2566, allocations: 23.81 kB / 0.5224 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.2579, allocations: 309.9 kB / 0.5227 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.2597, allocations: 0.5511 MB / 0.5232 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01761/0.2773, allocations: 4.507 MB / 0.5276 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3895/0.6669, allocations: 1.59 MB / 0.5292 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.6682, allocations: 316 kB / 0.5295 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.6693, allocations: 424.8 kB / 0.5299 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008739/0.6702, allocations: 459.4 kB / 0.5303 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.6703, allocations: 26.41 kB / 0.5303 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01863/0.689, allocations: 6.014 MB / 0.5362 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.6894, allocations: 95.69 kB / 0.5363 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006822/0.6901, allocations: 176.6 kB / 0.5365 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.7016, allocations: 2.739 MB / 0.5391 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.7018, allocations: 0 / 0.5391 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7018, allocations: 0 / 0.5391 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.7018, allocations: 4 kB / 0.5391 GB, free: 14.71 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.0081/0.7099, allocations: 1.362 MB / 0.5405 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.71, allocations: 8.875 kB / 0.5405 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.7104, allocations: 115.6 kB / 0.5406 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7116, allocations: 490.7 kB / 0.5411 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/0.7117, allocations: 36.19 kB / 0.5411 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.7118, allocations: 49.97 kB / 0.5411 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.7136, allocations: 0.6076 MB / 0.5417 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.7137, allocations: 4.375 kB / 0.5417 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.7138, allocations: 21.97 kB / 0.5418 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.7138, allocations: 13.5 kB / 0.5418 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.715, allocations: 352.3 kB / 0.5421 GB, free: 13.42 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.004264/0.7193, allocations: 3.568 MB / 0.5456 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.7199, allocations: 179.5 kB / 0.5458 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.7201, allocations: 62.7 kB / 0.5458 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07801/0.7981, allocations: 32.29 MB / 0.5774 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.7982, allocations: 34.56 kB / 0.5774 GB, free: 21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 4.348e-06/0.7982, allocations: 3.406 kB / 0.5774 GB, free: 21 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001555/0.7998, allocations: 364.2 kB / 0.5777 GB, free: 20.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.7999, allocations: 131.6 kB / 0.5779 GB, free: 20.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.8009, allocations: 0.7259 MB / 0.5786 GB, free: 20.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.801, allocations: 27.52 kB / 0.5786 GB, free: 20.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.8013, allocations: 350.7 kB / 0.5789 GB, free: 20.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.8013, allocations: 54.81 kB / 0.579 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.8014, allocations: 3.25 kB / 0.579 GB, free: 20.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.8015, allocations: 316.5 kB / 0.5793 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.8016, allocations: 40.22 kB / 0.5793 GB, free: 19.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.8018, allocations: 130.4 kB / 0.5795 GB, free: 19.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.8019, allocations: 55.31 kB / 0.5795 GB, free: 19.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8019, allocations: 0 / 0.5795 GB, free: 19.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004288/0.8023, allocations: 279.1 kB / 0.5798 GB, free: 19.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.8025, allocations: 162.4 kB / 0.5799 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.8025, allocations: 6.594 kB / 0.5799 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.8025, allocations: 11.38 kB / 0.5799 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.8028, allocations: 58.38 kB / 0.58 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.8028, allocations: 5.719 kB / 0.58 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.8034, allocations: 63.5 kB / 0.5801 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.8034, allocations: 16.83 kB / 0.5801 GB, free: 19.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.8035, allocations: 3.438 kB / 0.5801 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002501/0.8037, allocations: 149.1 kB / 0.5802 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.8037, allocations: 7.422 kB / 0.5802 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/0.8037, allocations: 9.438 kB / 0.5802 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.8039, allocations: 48.53 kB / 0.5803 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.804, allocations: 4.594 kB / 0.5803 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.8042, allocations: 54.5 kB / 0.5803 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.8043, allocations: 13.55 kB / 0.5804 GB, free: 19.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002773/0.8046, allocations: 251.1 kB / 0.5806 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.8047, allocations: 76.47 kB / 0.5807 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.8054, allocations: 0.5214 MB / 0.5812 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.8054, allocations: 8.75 kB / 0.5812 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8054, allocations: 0 / 0.5812 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.8054, allocations: 0 / 0.5812 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008941/0.8063, allocations: 0.6153 MB / 0.5818 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8064, allocations: 2.516 kB / 0.5818 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.8064, allocations: 19.08 kB / 0.5818 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.8064, allocations: 3.375 kB / 0.5818 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.8065, allocations: 2.875 kB / 0.5818 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.8065, allocations: 7.328 kB / 0.5818 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.8065, allocations: 4.656 kB / 0.5818 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.8069, allocations: 0.5059 MB / 0.5823 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.8072, allocations: 238.6 kB / 0.5825 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.8073, allocations: 7.375 kB / 0.5826 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.8076, allocations: 15.11 kB / 0.5826 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.8076, allocations: 8.547 kB / 0.5826 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.8077, allocations: 6.969 kB / 0.5826 GB, free: 18.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008546/0.8085, allocations: 0.7196 MB / 0.5833 GB, free: 17.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8085, allocations: 0 / 0.5833 GB, free: 17.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006553/0.8151, allocations: 1.053 MB / 0.5843 GB, free: 17.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009194/0.8243, allocations: 0.9792 MB / 0.5853 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.825, allocations: 185.7 kB / 0.5855 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.825, allocations: 0 / 0.5855 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.8251, allocations: 34.08 kB / 0.5855 GB, free: 17.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.8279, allocations: 461.5 kB / 0.5859 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.8299, allocations: 1.339 MB / 0.5872 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.8304, allocations: 0.9236 MB / 0.5881 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.8306, allocations: 55.48 kB / 0.5882 GB, free: 15.53 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.8306, allocations: 4 kB / 0.5882 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Templates: time 0.05587/0.8865, allocations: 24.32 MB / 0.6119 GB, free: 8.738 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.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