Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.75 kB / 16.95 MB, free: 5.672 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.001685/0.001686, allocations: 184.3 kB / 17.85 MB, free: 5.32 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.863/1.863, allocations: 205.4 MB / 224 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3918/0.3918, allocations: 48.78 MB / 321.1 MB, free: 11.21 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.0005729/0.0005733, allocations: 16.5 kB / 391.8 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1454, allocations: 60.27 MB / 452.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05171/0.1972, allocations: 47.37 MB / 499.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02022/0.2175, allocations: 15.93 MB / 0.5033 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007598/0.2183, allocations: 15.88 kB / 0.5033 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008856/0.2192, allocations: 206.9 kB / 0.5035 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007274/0.2265, allocations: 1.895 MB / 0.5053 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.2366, allocations: 2.498 MB / 0.5078 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.2382, allocations: 1.016 MB / 0.5088 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.2387, allocations: 234.6 kB / 0.509 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.2391, allocations: 298.8 kB / 0.5093 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.2396, allocations: 342.6 kB / 0.5096 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.2396, allocations: 16 kB / 0.5096 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.2564, allocations: 7.023 MB / 0.5165 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.2567, allocations: 75.69 kB / 0.5166 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.257, allocations: 121.4 kB / 0.5167 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008234/0.2652, allocations: 3.048 MB / 0.5197 GB, free: 9.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.2653, allocations: 0 / 0.5197 GB, free: 9.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2653, allocations: 0 / 0.5197 GB, free: 9.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2653, allocations: 0 / 0.5197 GB, free: 9.273 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004219/0.2696, allocations: 1.278 MB / 0.5209 GB, free: 7.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2696, allocations: 8.031 kB / 0.5209 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.2705, allocations: 147.3 kB / 0.521 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.2711, allocations: 349 kB / 0.5214 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.2711, allocations: 24.66 kB / 0.5214 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.2712, allocations: 32 kB / 0.5214 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.2722, allocations: 487 kB / 0.5219 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2723, allocations: 3.953 kB / 0.5219 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.2723, allocations: 16 kB / 0.5219 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2723, allocations: 8 kB / 0.5219 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006101/0.2729, allocations: 306.3 kB / 0.5222 GB, free: 6.5 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.002717/0.2757, allocations: 2.51 MB / 0.5247 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.2762, allocations: 282.9 kB / 0.5249 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.2765, allocations: 149 kB / 0.5251 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4138/0.6903, allocations: 32.75 MB / 0.5571 GB, free: 23.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007675/0.6911, allocations: 308.3 kB / 0.5574 GB, free: 22.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 3.987e-06/0.6911, allocations: 0 / 0.5574 GB, free: 22.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.003933/0.6951, allocations: 1.708 MB / 0.559 GB, free: 22.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6952, allocations: 140.6 kB / 0.5592 GB, free: 22.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.6958, allocations: 398.3 kB / 0.5595 GB, free: 22.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.6959, allocations: 32.52 kB / 0.5596 GB, free: 22.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.6961, allocations: 244.8 kB / 0.5598 GB, free: 21.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.6962, allocations: 116.7 kB / 0.5599 GB, free: 21.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.6963, allocations: 7.938 kB / 0.5599 GB, free: 21.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.6965, allocations: 357.4 kB / 0.5603 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.6967, allocations: 134.7 kB / 0.5604 GB, free: 21.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.697, allocations: 211.5 kB / 0.5606 GB, free: 21.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6974, allocations: 207.5 kB / 0.5608 GB, free: 21.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6974, allocations: 1.156 kB / 0.5608 GB, free: 21.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00104/0.6984, allocations: 0.6165 MB / 0.5614 GB, free: 21.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.6985, allocations: 73.28 kB / 0.5615 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6985, allocations: 0 / 0.5615 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.6996, allocations: 163.5 kB / 0.5616 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.6999, allocations: 57.16 kB / 0.5617 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009821/0.7009, allocations: 1.136 MB / 0.5628 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.7012, allocations: 38.7 kB / 0.5628 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.7013, allocations: 15.81 kB / 0.5628 GB, free: 20.13 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003381/0.7016, allocations: 251.3 kB / 0.5631 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.7017, allocations: 46.44 kB / 0.5631 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.7039, allocations: 1.588 MB / 0.5647 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.7039, allocations: 17.72 kB / 0.5647 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.704, allocations: 0 / 0.5647 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.704, allocations: 6.094 kB / 0.5647 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.7048, allocations: 0.7365 MB / 0.5654 GB, free: 19.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7048, allocations: 0 / 0.5654 GB, free: 19.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.705, allocations: 47.17 kB / 0.5655 GB, free: 19.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/0.7057, allocations: 368.4 kB / 0.5658 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.7057, allocations: 17.2 kB / 0.5658 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.7068, allocations: 1.337 MB / 0.5671 GB, free: 18.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7068, allocations: 1.859 kB / 0.5671 GB, free: 18.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.7089, allocations: 1.7 MB / 0.5688 GB, free: 18.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.7091, allocations: 184.9 kB / 0.569 GB, free: 18.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.7092, allocations: 16.11 kB / 0.569 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.7094, allocations: 27.03 kB / 0.569 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.7095, allocations: 27.42 kB / 0.569 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.7095, allocations: 15.56 kB / 0.5691 GB, free: 18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.7099, allocations: 281.1 kB / 0.5693 GB, free: 17.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7099, allocations: 0 / 0.5693 GB, free: 17.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003863/0.7138, allocations: 1.106 MB / 0.5704 GB, free: 17.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004894/0.7187, allocations: 1.308 MB / 0.5717 GB, free: 17.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.7201, allocations: 0.7421 MB / 0.5724 GB, free: 17.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7201, allocations: 4 kB / 0.5724 GB, free: 17.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.7209, allocations: 0.5977 MB / 0.573 GB, free: 17.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.722, allocations: 188 kB / 0.5732 GB, free: 17.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.7245, allocations: 1.804 MB / 0.5749 GB, free: 16.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.7251, allocations: 0.9109 MB / 0.5758 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7252, allocations: 39.3 kB / 0.5759 GB, free: 15.87 MB / 430.1 MB Notification: Performance of SimCode: time 1.283e-06/0.7252, allocations: 0 / 0.5759 GB, free: 15.87 MB / 430.1 MB Notification: Performance of Templates: time 0.05009/0.7753, allocations: 29 MB / 0.6042 GB, free: 9.457 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.TestBarometricCondenserCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenserCalcHelperMain.o] Error 1