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.001359/0.001359, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001459/0.001459, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.98/1.98, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3796/0.3796, allocations: 48.84 MB / 320.1 MB, free: 11.32 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.001326/0.001326, allocations: 61.92 kB / 390 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1406, allocations: 59.17 MB / 449.2 MB, free: 10.27 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:297:5-297: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:297:5-297: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.74/0.8807, allocations: 105 MB / 0.5411 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.8842, allocations: 1.049 MB / 0.5422 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.8848, allocations: 28.72 kB / 0.5422 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009859/0.8858, allocations: 236.6 kB / 0.5424 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.8868, allocations: 417.5 kB / 0.5428 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01713/0.904, allocations: 3.854 MB / 0.5466 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003697/0.9077, allocations: 1.804 MB / 0.5483 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006909/0.9084, allocations: 402.1 kB / 0.5487 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007006/0.9091, allocations: 408.5 kB / 0.5491 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.9099, allocations: 450 kB / 0.5495 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.9099, allocations: 23.03 kB / 0.5496 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.9224, allocations: 4.312 MB / 0.5538 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.9228, allocations: 99.45 kB / 0.5539 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007782/0.9236, allocations: 348.8 kB / 0.5542 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.9291, allocations: 2.115 MB / 0.5563 GB, free: 3.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9292, allocations: 0 / 0.5563 GB, free: 3.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.9292, allocations: 0 / 0.5563 GB, free: 3.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.9292, allocations: 0 / 0.5563 GB, free: 3.168 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.002856/0.9321, allocations: 1.284 MB / 0.5575 GB, free: 2.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.9321, allocations: 10.16 kB / 0.5575 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.9323, allocations: 95.59 kB / 0.5576 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.9328, allocations: 482.4 kB / 0.5581 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.9329, allocations: 41.72 kB / 0.5581 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.9329, allocations: 51.56 kB / 0.5582 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.9337, allocations: 0.6018 MB / 0.5588 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.9337, allocations: 14.88 kB / 0.5588 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.9338, allocations: 25.88 kB / 0.5588 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.9338, allocations: 13.94 kB / 0.5588 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.9342, allocations: 253.5 kB / 0.5591 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.9395, allocations: 7.084 MB / 0.566 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.9398, allocations: 175.8 kB / 0.5661 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.9398, allocations: 80.14 kB / 0.5662 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.9399, allocations: 75.28 kB / 0.5663 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.53e-05/0.94, allocations: 113.9 kB / 0.5664 GB, free: 10.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.94, allocations: 0 / 0.5664 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001704/0.9401, allocations: 103.5 kB / 0.5665 GB, free: 10.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.9402, allocations: 133.7 kB / 0.5666 GB, free: 10.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009877/0.9412, allocations: 0.769 MB / 0.5674 GB, free: 10.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.9413, allocations: 25.7 kB / 0.5674 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.9416, allocations: 388 kB / 0.5678 GB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.9416, allocations: 6.203 kB / 0.5678 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.9417, allocations: 38.77 kB / 0.5678 GB, free: 9.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9419, allocations: 311 kB / 0.5681 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.9419, allocations: 13.31 kB / 0.5681 GB, free: 9.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/0.942, allocations: 97.64 kB / 0.5682 GB, free: 9.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.9422, allocations: 113.1 kB / 0.5683 GB, free: 9.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9422, allocations: 2.594 kB / 0.5683 GB, free: 9.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003524/0.9426, allocations: 198.7 kB / 0.5685 GB, free: 9.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.9426, allocations: 6.781 kB / 0.5685 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.9426, allocations: 2.406 kB / 0.5685 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.9426, allocations: 9.156 kB / 0.5685 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.9427, allocations: 24.91 kB / 0.5686 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.9428, allocations: 6.031 kB / 0.5686 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.943, allocations: 54.09 kB / 0.5686 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.943, allocations: 9.875 kB / 0.5686 GB, free: 9.32 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.0002337/0.9433, allocations: 239.4 kB / 0.5688 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.9434, allocations: 184.1 kB / 0.569 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.9436, allocations: 167.7 kB / 0.5692 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.472e-05/0.9437, allocations: 182.4 kB / 0.5694 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.764e-05/0.9438, allocations: 183.1 kB / 0.5695 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.377e-05/0.9439, allocations: 183.9 kB / 0.5697 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.9444, allocations: 0.6478 MB / 0.5703 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.218e-05/0.9445, allocations: 107.3 kB / 0.5704 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.9446, allocations: 107.8 kB / 0.5705 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.64e-05/0.9447, allocations: 176.3 kB / 0.5707 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.9447, allocations: 182.6 kB / 0.5709 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.264e-05/0.9448, allocations: 187 kB / 0.5711 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.131e-05/0.9449, allocations: 176.3 kB / 0.5712 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.9452, allocations: 390.3 kB / 0.5716 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.9454, allocations: 251.5 kB / 0.5718 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.9456, allocations: 181.6 kB / 0.572 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.9458, allocations: 106.5 kB / 0.5721 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.9459, allocations: 184.1 kB / 0.5723 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.9459, allocations: 101 kB / 0.5724 GB, free: 5.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000631/0.9465, allocations: 0.5327 MB / 0.5729 GB, free: 5.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9466, allocations: 4 kB / 0.5729 GB, free: 5.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002805/0.9494, allocations: 0.746 MB / 0.5736 GB, free: 5.512 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.002554/0.9519, allocations: 0.9919 MB / 0.5746 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.9521, allocations: 40.39 kB / 0.5747 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9521, allocations: 128 / 0.5747 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.9521, allocations: 7.562 kB / 0.5747 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.9545, allocations: 0.9488 MB / 0.5756 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.9559, allocations: 1.148 MB / 0.5767 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.9565, allocations: 0.8776 MB / 0.5776 GB, free: 3.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.9566, allocations: 63.48 kB / 0.5776 GB, free: 3.168 MB / 430.1 MB Notification: Performance of SimCode: time 1.91e-07/0.9566, allocations: 0 / 0.5776 GB, free: 3.168 MB / 430.1 MB Notification: Performance of Templates: time 0.03598/0.9926, allocations: 19.61 MB / 0.5968 GB, free: 2.41 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