Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7513/0.7513, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.473e-05, allocations: 4 kB / 205.4 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 31.98 MB / 237.4 MB, free: 5.383 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0): time 1.448/1.588, allocations: 298.2 MB / 0.5231 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4436/2.031, allocations: 191.3 MB / 0.7099 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/2.032, allocations: 21.16 kB / 0.7099 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004996/2.033, allocations: 239.4 kB / 0.7102 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/2.034, allocations: 0.5233 MB / 0.7107 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02442/2.058, allocations: 9.87 MB / 0.7203 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00214/2.06, allocations: 2.032 MB / 0.7223 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007335/2.061, allocations: 0.7262 MB / 0.723 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008089/2.062, allocations: 0.6964 MB / 0.7237 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/2.062, allocations: 0.7023 MB / 0.7244 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/2.062, allocations: 71.69 kB / 0.7244 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02697/2.089, allocations: 18.22 MB / 0.7422 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/2.09, allocations: 258.5 kB / 0.7425 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/2.091, allocations: 0.8018 MB / 0.7433 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/2.104, allocations: 7.569 MB / 0.7507 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/2.104, allocations: 3.031 kB / 0.7507 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 2.855e-06/2.104, allocations: 64 / 0.7507 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 5.916e-05/2.104, allocations: 0 / 0.7507 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 499 * Number of variables: 499 Notification: Performance of Generate backend data structure: time 0.007425/2.111, allocations: 2.633 MB / 0.7532 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/2.111, allocations: 8.406 kB / 0.7532 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/2.111, allocations: 190.5 kB / 0.7534 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/2.112, allocations: 0.6758 MB / 0.7541 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/2.112, allocations: 227.7 kB / 0.7543 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/2.113, allocations: 134.7 kB / 0.7544 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/2.115, allocations: 1.829 MB / 0.7562 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/2.115, allocations: 2.938 kB / 0.7562 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/2.115, allocations: 62.88 kB / 0.7563 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/2.115, allocations: 70.64 kB / 0.7563 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/2.117, allocations: 1.304 MB / 0.7576 GB, free: 12.94 MB / 0.5919 GB 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.1412/2.258, allocations: 70.28 MB / 0.8263 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/2.259, allocations: 0.8793 MB / 0.8271 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/2.26, allocations: 0.6565 MB / 0.8278 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9507/3.211, allocations: 412.7 MB / 1.231 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/3.211, allocations: 42.17 kB / 1.231 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=200): time 2.845e-06/3.211, allocations: 4 kB / 1.231 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=200): time 0.006856/3.217, allocations: 3.537 MB / 1.234 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/3.218, allocations: 162.8 kB / 1.234 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/3.218, allocations: 0.6944 MB / 1.235 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/3.218, allocations: 39.2 kB / 1.235 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/3.219, allocations: 0.6272 MB / 1.236 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/3.219, allocations: 0.6366 MB / 1.236 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/3.219, allocations: 169.5 kB / 1.237 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001138/3.219, allocations: 343 kB / 1.237 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/3.22, allocations: 0.5453 MB / 1.237 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/3.221, allocations: 0.9997 MB / 1.238 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/3.223, allocations: 1.706 MB / 1.24 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/3.223, allocations: 4 kB / 1.24 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.003217/3.226, allocations: 2.368 MB / 1.242 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/3.226, allocations: 12.88 kB / 1.242 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/3.226, allocations: 16 kB / 1.242 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004854/3.231, allocations: 2.181 MB / 1.245 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/3.232, allocations: 149.1 kB / 1.245 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/3.235, allocations: 3.755 MB / 1.248 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/3.236, allocations: 208.2 kB / 1.249 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/3.236, allocations: 55.36 kB / 1.249 GB, free: 12.32 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 26 (nTUWaterHeating.Sp.ftype,Source_condenseur.C.ftype,nTUWaterHeating.Ep.ftype,sourceP.C.ftype,nTUWaterHeating.fluids[1],Puit_condenseur.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,nTUWaterHeating.fluid_e,sourceP.fluid1,Source_condenseur.fluid1,nTUWaterHeating.Sp.diff_on_1,singularPressureLoss5.C2.diff_on_1,nTUWaterHeating.Ev.diff_on_2,sourceP.C.diff_on_2,nTUWaterHeating.Ep.diff_on_2,nTUWaterHeating.Ee.diff_on_2,Source_condenseur.C.diff_on_2,nTUWaterHeating.Se.diff_on_1,singularPressureLoss4.C2.diff_on_1,nTUWaterHeating.Ep.diff_on_1,singularPressureLoss5.C1.diff_on_2,singularPressureLoss3.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (8,21), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004156/3.236, allocations: 307 kB / 1.249 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/3.236, allocations: 118 kB / 1.249 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/3.24, allocations: 2.434 MB / 1.251 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002464/3.242, allocations: 1.983 MB / 1.253 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/3.242, allocations: 0 / 1.253 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/3.242, allocations: 7.984 kB / 1.253 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/3.248, allocations: 4.498 MB / 1.258 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/3.248, allocations: 8 kB / 1.258 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/3.248, allocations: 71.09 kB / 1.258 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005182/3.253, allocations: 2.279 MB / 1.26 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/3.253, allocations: 30.98 kB / 1.26 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/3.257, allocations: 3.774 MB / 1.264 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/3.257, allocations: 4 kB / 1.264 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1639/3.421, allocations: 2.34 MB / 1.266 GB, free: 491.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/3.421, allocations: 303.7 kB / 1.266 GB, free: 491 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/3.421, allocations: 15.81 kB / 1.266 GB, free: 491 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/3.422, allocations: 50.89 kB / 1.266 GB, free: 491 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/3.422, allocations: 54.11 kB / 1.266 GB, free: 491 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/3.422, allocations: 27.88 kB / 1.266 GB, free: 491 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005678/3.422, allocations: 455.5 kB / 1.267 GB, free: 490.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/3.422, allocations: 0 / 1.267 GB, free: 490.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004849/3.427, allocations: 1.654 MB / 1.269 GB, free: 490.8 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Source_condenseur.C.diff_on_2,singularPressureLoss4.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (8,25), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005087/3.432, allocations: 2.152 MB / 1.271 GB, free: 490.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002994/3.435, allocations: 1.815 MB / 1.272 GB, free: 490.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/3.435, allocations: 0 / 1.272 GB, free: 490.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/3.437, allocations: 0.988 MB / 1.273 GB, free: 490.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/3.44, allocations: 0.5746 MB / 1.274 GB, free: 490.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/3.443, allocations: 3.461 MB / 1.277 GB, free: 488.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/3.443, allocations: 1.236 MB / 1.279 GB, free: 488 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/3.444, allocations: 79.55 kB / 1.279 GB, free: 488 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/3.444, allocations: 0.7812 kB / 1.279 GB, free: 488 MB / 0.8419 GB Notification: Performance of Templates: time 0.05347/3.497, allocations: 62.29 MB / 1.339 GB, free: 447.2 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestNTUWaterHeater0CalcHelperMain.o] Error 1