Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007715/0.0007716, allocations: 86.12 kB / 17.31 MB, free: 6.391 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.0008895/0.0008898, allocations: 185.7 kB / 18.22 MB, free: 5.535 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.41/1.41, 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.2935/0.2935, 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.0005628/0.0005627, allocations: 13.5 kB / 392.5 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1196, allocations: 60.25 MB / 452.7 MB, free: 9.188 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:186:5-186:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:186:5-186:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.5388/0.6585, allocations: 103.5 MB / 0.5432 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.6616, allocations: 1.049 MB / 0.5442 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.662, allocations: 26.06 kB / 0.5442 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006323/0.6627, allocations: 236.2 kB / 0.5444 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006404/0.6633, allocations: 420.4 kB / 0.5448 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01198/0.6753, allocations: 3.859 MB / 0.5486 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.6776, allocations: 1.801 MB / 0.5504 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.6782, allocations: 389.3 kB / 0.5507 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.6786, allocations: 391.1 kB / 0.5511 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.6791, allocations: 422.7 kB / 0.5515 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.6792, allocations: 22.53 kB / 0.5515 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007713/0.6869, allocations: 4.306 MB / 0.5557 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.687, allocations: 83.91 kB / 0.5558 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.6872, allocations: 369 kB / 0.5562 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.6895, allocations: 2.102 MB / 0.5582 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6895, allocations: 0 / 0.5582 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6895, allocations: 0 / 0.5582 GB, free: 3.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.6895, allocations: 0 / 0.5582 GB, free: 3.117 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.001342/0.6909, allocations: 1.165 MB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.6909, allocations: 6.938 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.746e-05/0.691, allocations: 97.91 kB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.6915, allocations: 479.7 kB / 0.5599 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.6915, allocations: 39.03 kB / 0.56 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.6915, allocations: 50.03 kB / 0.56 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.6921, allocations: 0.6028 MB / 0.5606 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.6921, allocations: 11.3 kB / 0.5606 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.6922, allocations: 22.5 kB / 0.5606 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.6922, allocations: 15.53 kB / 0.5606 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.6925, allocations: 257 kB / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.6966, allocations: 7.079 MB / 0.5678 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.6967, allocations: 169.2 kB / 0.568 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.6967, allocations: 80.14 kB / 0.568 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.6967, allocations: 79.28 kB / 0.5681 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.6968, allocations: 108.8 kB / 0.5682 GB, free: 10.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6968, allocations: 0 / 0.5682 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001295/0.6969, allocations: 112.2 kB / 0.5683 GB, free: 10.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.697, allocations: 128.7 kB / 0.5685 GB, free: 10.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.6978, allocations: 0.7731 MB / 0.5692 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6978, allocations: 25.7 kB / 0.5692 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.6981, allocations: 392.5 kB / 0.5696 GB, free: 9.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.6981, allocations: 2.25 kB / 0.5696 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.6982, allocations: 17.64 kB / 0.5696 GB, free: 9.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6983, allocations: 311.6 kB / 0.5699 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.311e-05/0.6984, allocations: 14.14 kB / 0.5699 GB, free: 9.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.6985, allocations: 93.02 kB / 0.57 GB, free: 9.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.6986, allocations: 113.1 kB / 0.5701 GB, free: 9.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6986, allocations: 2.875 kB / 0.5701 GB, free: 9.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003287/0.6989, allocations: 200.3 kB / 0.5703 GB, free: 9.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.699, allocations: 6.688 kB / 0.5703 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.699, allocations: 2.875 kB / 0.5703 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.699, allocations: 3.062 kB / 0.5703 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.6991, allocations: 29.8 kB / 0.5704 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6991, allocations: 3.688 kB / 0.5704 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.6993, allocations: 55.88 kB / 0.5704 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6993, allocations: 4.781 kB / 0.5704 GB, free: 9.328 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001741/0.6995, allocations: 247.4 kB / 0.5707 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6996, allocations: 184.5 kB / 0.5708 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.6997, allocations: 167.2 kB / 0.571 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.6998, allocations: 182 kB / 0.5712 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.962e-05/0.6999, allocations: 182.9 kB / 0.5713 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-05/0.7, allocations: 183.1 kB / 0.5715 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.7004, allocations: 0.6456 MB / 0.5722 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.7004, allocations: 104.9 kB / 0.5723 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.7005, allocations: 101 kB / 0.5723 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.235e-05/0.7006, allocations: 190.7 kB / 0.5725 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.7006, allocations: 180.2 kB / 0.5727 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.84e-05/0.7007, allocations: 176.3 kB / 0.5729 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.449e-05/0.7008, allocations: 183.6 kB / 0.573 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.701, allocations: 388.1 kB / 0.5734 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.7012, allocations: 258.8 kB / 0.5737 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.7013, allocations: 189.1 kB / 0.5738 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.7015, allocations: 106.1 kB / 0.5739 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.7016, allocations: 176.3 kB / 0.5741 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.7016, allocations: 106.9 kB / 0.5742 GB, free: 5.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005282/0.7021, allocations: 0.5273 MB / 0.5747 GB, free: 5.633 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7022, allocations: 4 kB / 0.5747 GB, free: 5.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002082/0.7042, allocations: 0.7463 MB / 0.5755 GB, free: 5.527 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.002071/0.7063, allocations: 0.9994 MB / 0.5764 GB, free: 5.223 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.7064, allocations: 38.73 kB / 0.5765 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7064, allocations: 4.188 kB / 0.5765 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.7064, allocations: 4.844 kB / 0.5765 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.7088, allocations: 0.9406 MB / 0.5774 GB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.71, allocations: 1.174 MB / 0.5785 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.7104, allocations: 0.8802 MB / 0.5794 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.7105, allocations: 60.73 kB / 0.5795 GB, free: 3.199 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.7105, allocations: 2.562 kB / 0.5795 GB, free: 3.199 MB / 430.1 MB Notification: Performance of Templates: time 0.02395/0.7345, allocations: 19.53 MB / 0.5985 GB, free: 4.188 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.TestSourcesCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestSourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestSourcesCalcHelperMain.o] Error 1