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.0009653/0.0009651, allocations: 91.38 kB / 16.95 MB, free: 5.559 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.0008942/0.0008942, allocations: 191.6 kB / 17.85 MB, free: 5.23 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.832/1.832, allocations: 205.4 MB / 224 MB, free: 13.16 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.76 MB / 321 MB, free: 11.23 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.0005644/0.0005645, allocations: 13.75 kB / 391.8 MB, free: 50.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1433, allocations: 60.27 MB / 452.1 MB, free: 9.539 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.08638/0.2297, allocations: 80.59 MB / 0.5202 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.2332, allocations: 1.047 MB / 0.5212 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007983/0.234, allocations: 27.75 kB / 0.5212 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.235, allocations: 234.1 kB / 0.5214 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.2361, allocations: 0.4927 MB / 0.5219 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.2482, allocations: 3.501 MB / 0.5253 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.2508, allocations: 1.537 MB / 0.5268 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.2514, allocations: 334 kB / 0.5272 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.2521, allocations: 386.3 kB / 0.5275 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.2526, allocations: 397.9 kB / 0.5279 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.2526, allocations: 16 kB / 0.5279 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3443/0.5969, allocations: 3.827 MB / 0.5317 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.5973, allocations: 83.19 kB / 0.5317 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.5978, allocations: 167.5 kB / 0.5319 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.6048, allocations: 1.978 MB / 0.5338 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.6048, allocations: 0 / 0.5338 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.6049, allocations: 3.094 kB / 0.5338 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.6049, allocations: 0 / 0.5338 GB, free: 15.45 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.00458/0.6095, allocations: 1.164 MB / 0.535 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6095, allocations: 8.594 kB / 0.535 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.6097, allocations: 88.53 kB / 0.5351 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.6104, allocations: 461.2 kB / 0.5355 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.6105, allocations: 36.69 kB / 0.5355 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.6106, allocations: 48.5 kB / 0.5356 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009655/0.6115, allocations: 0.6024 MB / 0.5362 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.6116, allocations: 5.469 kB / 0.5362 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.6116, allocations: 22.72 kB / 0.5362 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.6117, allocations: 19.58 kB / 0.5362 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.6121, allocations: 251.2 kB / 0.5364 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005375/0.6175, allocations: 7.082 MB / 0.5434 GB, free: 23.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.6177, allocations: 170.4 kB / 0.5435 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.6177, allocations: 81.2 kB / 0.5436 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.6178, allocations: 75.28 kB / 0.5437 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.6178, allocations: 111.6 kB / 0.5438 GB, free: 23.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.605e-06/0.6178, allocations: 1.969 kB / 0.5438 GB, free: 23.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001968/0.618, allocations: 112.2 kB / 0.5439 GB, free: 22.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.6181, allocations: 127.2 kB / 0.544 GB, free: 22.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.6193, allocations: 0.7691 MB / 0.5448 GB, free: 22.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.6193, allocations: 29.27 kB / 0.5448 GB, free: 22.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.6197, allocations: 387.7 kB / 0.5452 GB, free: 22.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-06/0.6197, allocations: 2.812 kB / 0.5452 GB, free: 22.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.6197, allocations: 3.875 kB / 0.5452 GB, free: 22.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6199, allocations: 318.2 kB / 0.5455 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.6199, allocations: 12.62 kB / 0.5455 GB, free: 22.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.62, allocations: 94.39 kB / 0.5456 GB, free: 22.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.763e-05/0.6201, allocations: 26.47 kB / 0.5456 GB, free: 22.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6201, allocations: 0.7812 kB / 0.5456 GB, free: 22.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000416/0.6205, allocations: 206.1 kB / 0.5458 GB, free: 22.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.6205, allocations: 6.656 kB / 0.5458 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6205, allocations: 3.281 kB / 0.5458 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.6206, allocations: 3.312 kB / 0.5458 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.6207, allocations: 27.45 kB / 0.5458 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.6207, allocations: 7.281 kB / 0.5458 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.621, allocations: 50.2 kB / 0.5459 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.6211, allocations: 6.406 kB / 0.5459 GB, free: 21.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.6213, allocations: 240.7 kB / 0.5461 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6215, allocations: 186.3 kB / 0.5463 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.6216, allocations: 169.5 kB / 0.5465 GB, free: 21.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.733e-05/0.6217, allocations: 181.9 kB / 0.5466 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.452e-05/0.6218, allocations: 181.2 kB / 0.5468 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.273e-05/0.6219, allocations: 180.4 kB / 0.547 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.6225, allocations: 0.6457 MB / 0.5476 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.429e-05/0.6226, allocations: 107.5 kB / 0.5477 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.6226, allocations: 108.8 kB / 0.5478 GB, free: 20.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.255e-05/0.6227, allocations: 181.4 kB / 0.548 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.6228, allocations: 181.3 kB / 0.5482 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.276e-05/0.6229, allocations: 177.5 kB / 0.5483 GB, free: 19.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-05/0.623, allocations: 183.5 kB / 0.5485 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.6232, allocations: 386.8 kB / 0.5489 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.6234, allocations: 263.7 kB / 0.5491 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6236, allocations: 187.1 kB / 0.5493 GB, free: 18.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.6238, allocations: 101 kB / 0.5494 GB, free: 18.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.6239, allocations: 181.6 kB / 0.5496 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.6239, allocations: 108 kB / 0.5497 GB, free: 18.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000826/0.6248, allocations: 0.5229 MB / 0.5502 GB, free: 18.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6248, allocations: 0 / 0.5502 GB, free: 18.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004656/0.6294, allocations: 0.7429 MB / 0.5509 GB, free: 18.21 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 (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.004839/0.6343, allocations: 0.9736 MB / 0.5519 GB, free: 17.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.6345, allocations: 45.3 kB / 0.5519 GB, free: 17.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6345, allocations: 4.125 kB / 0.5519 GB, free: 17.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.6345, allocations: 1.219 kB / 0.5519 GB, free: 17.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.6373, allocations: 0.9547 MB / 0.5529 GB, free: 17.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.639, allocations: 1.096 MB / 0.5539 GB, free: 16.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.6395, allocations: 0.8784 MB / 0.5548 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.6397, allocations: 62.23 kB / 0.5548 GB, free: 15.99 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6397, allocations: 0 / 0.5548 GB, free: 15.99 MB / 430.1 MB Notification: Performance of Templates: time 0.04214/0.6818, allocations: 19.54 MB / 0.5739 GB, free: 10.61 MB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.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