Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.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.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6863/0.6863, allocations: 150.8 MB / 166.7 MB, free: 15.35 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/9.959e-06, allocations: 0 / 205.4 MB, free: 9.805 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 31.98 MB / 237.4 MB, free: 5.34 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.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser): time 1.315/1.433, allocations: 297.5 MB / 0.5224 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03992/1.473, allocations: 39.76 MB / 0.5612 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/1.474, allocations: 8 kB / 0.5612 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/1.474, allocations: 230.6 kB / 0.5614 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009365/1.475, allocations: 416.8 kB / 0.5618 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01576/1.491, allocations: 7.849 MB / 0.5695 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/1.492, allocations: 1.576 MB / 0.571 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/1.493, allocations: 0.5087 MB / 0.5715 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/1.493, allocations: 0.5092 MB / 0.572 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/1.494, allocations: 0.4895 MB / 0.5725 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/1.494, allocations: 40 kB / 0.5725 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02412/1.518, allocations: 18.75 MB / 0.5908 GB, free: 3.523 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/1.518, allocations: 163.1 kB / 0.591 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/1.519, allocations: 0.6154 MB / 0.5916 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006822/1.526, allocations: 6.63 MB / 0.5981 GB, free: 12.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/1.526, allocations: 0 / 0.5981 GB, free: 12.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/1.526, allocations: 0 / 0.5981 GB, free: 12.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/1.526, allocations: 4 kB / 0.5981 GB, free: 12.09 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.003646/1.529, allocations: 2.197 MB / 0.6002 GB, free: 9.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/1.529, allocations: 8.031 kB / 0.6002 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/1.53, allocations: 146.2 kB / 0.6004 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/1.53, allocations: 495.6 kB / 0.6008 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/1.53, allocations: 78.05 kB / 0.6009 GB, free: 9.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/1.53, allocations: 99.98 kB / 0.601 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/1.532, allocations: 1.36 MB / 0.6023 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.532, allocations: 7.938 kB / 0.6023 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/1.532, allocations: 44 kB / 0.6024 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/1.532, allocations: 59.89 kB / 0.6024 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.533, allocations: 0.8632 MB / 0.6033 GB, free: 6.527 MB / 494.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.004665/1.538, allocations: 7.37 MB / 0.6105 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/1.539, allocations: 0.6401 MB / 0.6111 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/1.539, allocations: 458.3 kB / 0.6115 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2935/1.833, allocations: 89.56 MB / 0.699 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.833, allocations: 42.53 kB / 0.699 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=182): time 2.805e-06/1.833, allocations: 1.781 kB / 0.699 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.009073/1.842, allocations: 3.325 MB / 0.7023 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/1.842, allocations: 65.22 kB / 0.7023 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/1.842, allocations: 0.5935 MB / 0.7029 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/1.842, allocations: 29.39 kB / 0.703 GB, free: 222.4 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:3:3-3:64:writable] Warning: The parameter Puit_condenseur.P0 has fixed = false and a binding equation Puit_condenseur.P0 = 100000.0, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0001757/1.843, allocations: 400.9 kB / 0.7033 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/1.843, allocations: 0.5857 MB / 0.7039 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.843, allocations: 149.3 kB / 0.7041 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/1.843, allocations: 339.5 kB / 0.7044 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/1.843, allocations: 349.9 kB / 0.7047 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/1.844, allocations: 0.5805 MB / 0.7053 GB, free: 221.3 MB / 0.5762 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.006632/1.851, allocations: 3.13 MB / 0.7083 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/1.851, allocations: 0 / 0.7083 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002138/1.853, allocations: 1.628 MB / 0.7099 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.853, allocations: 12.53 kB / 0.7099 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.853, allocations: 9.094 kB / 0.7099 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/1.856, allocations: 1.496 MB / 0.7114 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.856, allocations: 72.77 kB / 0.7115 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/1.859, allocations: 6.58 MB / 0.7179 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/1.86, allocations: 149.9 kB / 0.718 GB, free: 215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/1.86, allocations: 37.62 kB / 0.7181 GB, free: 215 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Source_condenseur.P = $START.Source_condenseur.P. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 24 (singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,Source_condenseur.C.b,condenseur.Cev.a,condenseur.Cep.a,condenseur.Cvt.a,condenseur.Cex.b,condenseur.Cse.b,condenseur.Cee.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,Puit_condenseur1.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP2.C.b,sourceP1.C.b,sourceP.C.b,Puit_condenseur.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (10,2), (1,3), (1,3), (1,3), (1,3), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002668/1.86, allocations: 244.6 kB / 0.7183 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/1.86, allocations: 105.1 kB / 0.7184 GB, free: 214.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/1.863, allocations: 2.855 MB / 0.7212 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002047/1.865, allocations: 2.11 MB / 0.7233 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.865, allocations: 7.469 kB / 0.7233 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.865, allocations: 7.219 kB / 0.7233 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/1.869, allocations: 4.752 MB / 0.7279 GB, free: 213 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.869, allocations: 0 / 0.7279 GB, free: 213 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/1.87, allocations: 200.6 kB / 0.7281 GB, free: 213 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/1.873, allocations: 2.264 MB / 0.7303 GB, free: 212.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/1.874, allocations: 29.48 kB / 0.7303 GB, free: 212.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.876, allocations: 3.862 MB / 0.7341 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.876, allocations: 2.688 kB / 0.7341 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/1.878, allocations: 2.287 MB / 0.7364 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/1.878, allocations: 338.3 kB / 0.7367 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/1.878, allocations: 31.62 kB / 0.7367 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/1.878, allocations: 54.77 kB / 0.7368 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.879, allocations: 95.41 kB / 0.7368 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/1.879, allocations: 44.03 kB / 0.7369 GB, free: 208 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002868/1.879, allocations: 401.7 kB / 0.7373 GB, free: 207.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.879, allocations: 0 / 0.7373 GB, free: 207.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002506/1.881, allocations: 1.535 MB / 0.7388 GB, free: 207.7 MB / 0.5762 GB 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 (132): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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), (10,2), (11,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003489/1.885, allocations: 1.864 MB / 0.7406 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00246/1.887, allocations: 2.423 MB / 0.743 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.887, allocations: 448 / 0.743 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/1.889, allocations: 1.271 MB / 0.7442 GB, free: 203.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.891, allocations: 0.6219 MB / 0.7448 GB, free: 202.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/1.894, allocations: 3.753 MB / 0.7485 GB, free: 199.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/1.895, allocations: 1.333 MB / 0.7498 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/1.895, allocations: 82.2 kB / 0.7499 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/1.895, allocations: 0 / 0.7499 GB, free: 198.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04783/1.943, allocations: 76.93 MB / 0.825 GB, free: 122.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.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 OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenserCalcHelperMain.o] Error 1