Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008071/0.0008071, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.0008563/0.0008563, allocations: 179.9 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3817/0.3817, allocations: 64.91 MB / 357.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 8 kB / 433.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 64.86 MB / 498.1 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007664/0.1683, allocations: 6.971 MB / 0.4932 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006914/0.1753, allocations: 4.303 MB / 0.4974 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1763, allocations: 4 kB / 0.4974 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.1779, allocations: 0.5053 MB / 0.4979 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.18, allocations: 0.6719 MB / 0.4986 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1812, allocations: 495.5 kB / 0.4991 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.185, allocations: 3.176 MB / 0.5022 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.1861, allocations: 0.6094 MB / 0.5028 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.1874, allocations: 0.7124 MB / 0.5035 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.189, allocations: 1.035 MB / 0.5045 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1892, allocations: 80 kB / 0.5045 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.1894, allocations: 76 kB / 0.5046 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006237/0.1901, allocations: 0.6738 MB / 0.5053 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1911, allocations: 0.9619 MB / 0.5062 GB, free: 356 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3923/0.5835, allocations: 2.404 MB / 0.5086 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.5836, allocations: 0 / 0.5086 GB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.189e-06/0.5836, allocations: 0 / 0.5086 GB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002194/0.5838, allocations: 0 / 0.5086 GB, free: 15.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.008122/0.5919, allocations: 1.822 MB / 0.5103 GB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.592, allocations: 10.55 kB / 0.5104 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.5935, allocations: 191.5 kB / 0.5105 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.5964, allocations: 0.7503 MB / 0.5113 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.5966, allocations: 149.4 kB / 0.5114 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009971/0.5976, allocations: 275.2 kB / 0.5117 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006325/0.604, allocations: 2.737 MB / 0.5143 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/0.6041, allocations: 10.88 kB / 0.5144 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.6043, allocations: 85.92 kB / 0.5144 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002606/0.6046, allocations: 151.4 kB / 0.5146 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005464/0.6101, allocations: 2.187 MB / 0.5167 GB, free: 13.2 MB / 382.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.01578/0.6259, allocations: 10.8 MB / 0.5273 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.6288, allocations: 2.784 MB / 0.53 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.6302, allocations: 0.6601 MB / 0.5306 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.6303, allocations: 17.27 kB / 0.5306 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.6304, allocations: 59.27 kB / 0.5307 GB, free: 3.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 4.889e-06/0.6304, allocations: 0 / 0.5307 GB, free: 3.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02317/0.6536, allocations: 7.639 MB / 0.5382 GB, free: 14.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005956/0.6596, allocations: 3.895 MB / 0.542 GB, free: 11.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.6617, allocations: 1.093 MB / 0.543 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004258/0.6621, allocations: 50.7 kB / 0.5431 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008227/0.663, allocations: 0.9326 MB / 0.544 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008542/0.6638, allocations: 0.4962 MB / 0.5445 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/0.6642, allocations: 187.3 kB / 0.5447 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6644, allocations: 343.6 kB / 0.545 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.6664, allocations: 0.9226 MB / 0.5459 GB, free: 8.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/0.6692, allocations: 1.885 MB / 0.5477 GB, free: 6.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/0.674, allocations: 2.967 MB / 0.5506 GB, free: 4.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.6741, allocations: 7.844 kB / 0.5506 GB, free: 4.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01067/0.6847, allocations: 3.716 MB / 0.5543 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.6848, allocations: 20 kB / 0.5543 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.937e-05/0.6849, allocations: 36.12 kB / 0.5543 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005121/0.6901, allocations: 1.004 MB / 0.5553 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/0.6936, allocations: 0.5774 MB / 0.5559 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.706, allocations: 6.297 MB / 0.562 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/0.7101, allocations: 227.5 kB / 0.5622 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004255/0.7105, allocations: 120 kB / 0.5623 GB, free: 9.004 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001853/0.7124, allocations: 0.5714 MB / 0.5629 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005535/0.7129, allocations: 130.5 kB / 0.563 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008748/0.7217, allocations: 2.882 MB / 0.5658 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007752/0.7295, allocations: 2.509 MB / 0.5683 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/0.7296, allocations: 8 kB / 0.5683 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.734e-05/0.7296, allocations: 7.969 kB / 0.5683 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.7455, allocations: 6.088 MB / 0.5742 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.7456, allocations: 8 kB / 0.5743 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/0.7477, allocations: 292.1 kB / 0.5745 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.7538, allocations: 1.229 MB / 0.5757 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003873/0.7542, allocations: 43.97 kB / 0.5758 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.7645, allocations: 6.033 MB / 0.5817 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005784/0.7704, allocations: 3.769 MB / 0.5853 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.7814, allocations: 4.364 MB / 0.5896 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009106/0.7823, allocations: 215.8 kB / 0.5898 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.7827, allocations: 43.92 kB / 0.5899 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.7843, allocations: 139.7 kB / 0.59 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/0.7847, allocations: 124.6 kB / 0.5901 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.7848, allocations: 55.95 kB / 0.5902 GB, free: 11.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.786, allocations: 0.6962 MB / 0.5908 GB, free: 11.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.786, allocations: 0 / 0.5908 GB, free: 11.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002956/0.789, allocations: 0.5781 MB / 0.5914 GB, free: 10.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002984/0.7893, allocations: 145.1 kB / 0.5915 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006987/0.7963, allocations: 2.666 MB / 0.5941 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.7963, allocations: 4.062 kB / 0.5942 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00415/0.8005, allocations: 1.402 MB / 0.5955 GB, free: 6.203 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.8041, allocations: 394.1 kB / 0.5959 GB, free: 5.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009259/0.8134, allocations: 4.826 MB / 0.6006 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.8153, allocations: 1.423 MB / 0.602 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/0.8162, allocations: 127.4 kB / 0.6021 GB, free: 15.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.863e-06/0.8162, allocations: 0 / 0.6021 GB, free: 15.3 MB / 462.1 MB Notification: Performance of Templates: time 0.07272/0.8889, allocations: 50.55 MB / 0.6515 GB, free: 12.75 MB / 0.4981 GB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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 OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.o OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystemCalcHelperMain.o] Error 1