Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 91.5 kB / 16.95 MB, free: 5.66 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.001223/0.001223, allocations: 186.1 kB / 17.85 MB, free: 5.312 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.876/1.876, 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.4021/0.4021, allocations: 48.77 MB / 321.1 MB, free: 11.22 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.0005361/0.0005362, allocations: 14.78 kB / 391.8 MB, free: 50.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1442, allocations: 60.27 MB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.04569/0.19, allocations: 42.16 MB / 494.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.206, allocations: 10.81 MB / 0.4932 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.2068, allocations: 15.88 kB / 0.4932 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009818/0.2078, allocations: 274.3 kB / 0.4935 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.2092, allocations: 0.626 MB / 0.4941 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01231/0.2216, allocations: 3.243 MB / 0.4972 GB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00359/0.2252, allocations: 2.351 MB / 0.4995 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000863/0.2261, allocations: 423 kB / 0.4999 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.2273, allocations: 0.5721 MB / 0.5005 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2285, allocations: 0.7162 MB / 0.5012 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2286, allocations: 36 kB / 0.5012 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.2433, allocations: 6.016 MB / 0.5071 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000775/0.2442, allocations: 275.2 kB / 0.5074 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.2447, allocations: 193.3 kB / 0.5076 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007385/0.2521, allocations: 2.931 MB / 0.5104 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.2521, allocations: 0 / 0.5104 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2521, allocations: 0 / 0.5104 GB, free: 2.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2522, allocations: 0 / 0.5104 GB, free: 2.719 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00491/0.2571, allocations: 1.505 MB / 0.5119 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.2571, allocations: 12.03 kB / 0.5119 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/0.2581, allocations: 202.8 kB / 0.5121 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.2592, allocations: 0.5531 MB / 0.5126 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.2592, allocations: 62 kB / 0.5127 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2594, allocations: 79.91 kB / 0.5128 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.2633, allocations: 1.715 MB / 0.5144 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.2633, allocations: 3.953 kB / 0.5145 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.2634, allocations: 27.91 kB / 0.5145 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.2635, allocations: 37.98 kB / 0.5145 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/0.2672, allocations: 1.647 MB / 0.5161 GB, free: 12.77 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.004773/0.272, allocations: 3.645 MB / 0.5197 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.275, allocations: 1.199 MB / 0.5209 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.2754, allocations: 286.4 kB / 0.5211 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4309/0.7063, allocations: 64.58 MB / 0.5842 GB, free: 37.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.197e-05/0.7065, allocations: 40.25 kB / 0.5842 GB, free: 37.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 3.747e-06/0.7065, allocations: 5.969 kB / 0.5842 GB, free: 37.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.006274/0.7128, allocations: 2.104 MB / 0.5863 GB, free: 35.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.7129, allocations: 55.97 kB / 0.5863 GB, free: 35.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.7135, allocations: 0.5197 MB / 0.5868 GB, free: 34.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.7137, allocations: 37.7 kB / 0.5869 GB, free: 34.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.7139, allocations: 358.9 kB / 0.5872 GB, free: 34.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.7141, allocations: 203.5 kB / 0.5874 GB, free: 34.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.7142, allocations: 8 kB / 0.5874 GB, free: 34.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7143, allocations: 378.5 kB / 0.5878 GB, free: 33.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.715, allocations: 0.5048 MB / 0.5883 GB, free: 33.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.7157, allocations: 0.6478 MB / 0.5889 GB, free: 32.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.7164, allocations: 0.5308 MB / 0.5894 GB, free: 32.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7165, allocations: 0 / 0.5894 GB, free: 32.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002808/0.7193, allocations: 1.85 MB / 0.5912 GB, free: 30.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.625e-05/0.7194, allocations: 173.7 kB / 0.5914 GB, free: 29.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7194, allocations: 7.469 kB / 0.5914 GB, free: 29.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003737/0.7231, allocations: 1.613 MB / 0.593 GB, free: 28.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.7234, allocations: 67.84 kB / 0.5931 GB, free: 28.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.7263, allocations: 2.18 MB / 0.5952 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.7273, allocations: 123.3 kB / 0.5953 GB, free: 25.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.7275, allocations: 79.91 kB / 0.5954 GB, free: 25.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7275, allocations: 4 kB / 0.5954 GB, free: 25.87 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00269/0.7302, allocations: 1.747 MB / 0.5971 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7302, allocations: 7.984 kB / 0.5971 GB, free: 24.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.7331, allocations: 1.501 MB / 0.5986 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.7334, allocations: 67.89 kB / 0.5986 GB, free: 22.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.7362, allocations: 2.14 MB / 0.6007 GB, free: 20.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/0.7372, allocations: 113.4 kB / 0.6008 GB, free: 20.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.7373, allocations: 75.92 kB / 0.6009 GB, free: 20.21 MB / 414.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 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of prepare postOptimizeDAE: time 0.0006271/0.7379, allocations: 336.9 kB / 0.6012 GB, free: 19.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.7382, allocations: 63.25 kB / 0.6013 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007118/0.7453, allocations: 7.938 MB / 0.609 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.7454, allocations: 19.97 kB / 0.609 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/0.7454, allocations: 0 / 0.609 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.7454, allocations: 3.984 kB / 0.609 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.7486, allocations: 3.817 MB / 0.6128 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.7486, allocations: 0.5469 kB / 0.6128 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.75, allocations: 211.7 kB / 0.613 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.7505, allocations: 145.5 kB / 0.6131 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.7506, allocations: 19.92 kB / 0.6131 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.7531, allocations: 4.028 MB / 0.6171 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7531, allocations: 6.719 kB / 0.6171 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.7557, allocations: 1.937 MB / 0.619 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.7562, allocations: 235.8 kB / 0.6192 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.7563, allocations: 19.84 kB / 0.6192 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.757, allocations: 83.77 kB / 0.6193 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7572, allocations: 40.5 kB / 0.6193 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.7572, allocations: 23.98 kB / 0.6194 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004442/0.7577, allocations: 358.8 kB / 0.6197 GB, free: 340 kB / 414.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7577, allocations: 0 / 0.6197 GB, free: 340 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.004111/0.7618, allocations: 1.212 MB / 0.6209 GB, free: 15.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005266/0.7671, allocations: 0.9754 MB / 0.6218 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.7718, allocations: 1.978 MB / 0.6238 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.7718, allocations: 4.062 kB / 0.6238 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00232/0.7742, allocations: 0.8912 MB / 0.6246 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.7764, allocations: 303.6 kB / 0.6249 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.7813, allocations: 2.594 MB / 0.6275 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009701/0.7823, allocations: 1.07 MB / 0.6285 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.7826, allocations: 63.41 kB / 0.6286 GB, free: 7.371 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7826, allocations: 0 / 0.6286 GB, free: 7.371 MB / 430.1 MB Notification: Performance of Templates: time 0.06147/0.8441, allocations: 36.24 MB / 0.664 GB, free: 3.078 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.TestExpansionTankIdealCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdealCalcHelperMain.o] Error 1