Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer.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.Volume.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6859/0.6859, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.328e-06, allocations: 0 / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 31.98 MB / 237.4 MB, free: 5.434 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.Volume.TestPressurizer): time 1.316/1.433, allocations: 296.3 MB / 0.5212 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3956/1.828, allocations: 188 MB / 0.7048 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/1.829, allocations: 17.38 kB / 0.7048 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007088/1.83, allocations: 293.4 kB / 0.7051 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000936/1.831, allocations: 393.9 kB / 0.7055 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0203/1.851, allocations: 9.444 MB / 0.7147 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001188/1.852, allocations: 1.449 MB / 0.7161 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/1.853, allocations: 0.5956 MB / 0.7167 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/1.853, allocations: 472.5 kB / 0.7172 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/1.853, allocations: 0.5026 MB / 0.7176 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/1.853, allocations: 39.12 kB / 0.7177 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02254/1.876, allocations: 18.29 MB / 0.7355 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/1.876, allocations: 240.6 kB / 0.7358 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000515/1.877, allocations: 0.545 MB / 0.7363 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006985/1.884, allocations: 7.053 MB / 0.7432 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/1.884, allocations: 3.938 kB / 0.7432 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/1.884, allocations: 0 / 0.7432 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.919e-06/1.884, allocations: 0 / 0.7432 GB, free: 0.5586 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.004046/1.888, allocations: 2.372 MB / 0.7455 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/1.888, allocations: 10.5 kB / 0.7455 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/1.888, allocations: 133.9 kB / 0.7456 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/1.889, allocations: 0.6259 MB / 0.7463 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/1.889, allocations: 64.84 kB / 0.7463 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/1.889, allocations: 85.75 kB / 0.7464 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.89, allocations: 1.105 MB / 0.7475 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.89, allocations: 5.25 kB / 0.7475 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/1.89, allocations: 35.19 kB / 0.7475 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/1.89, allocations: 33.83 kB / 0.7475 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/1.891, allocations: 0.7989 MB / 0.7483 GB, free: 14.09 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.004296/1.896, allocations: 5.474 MB / 0.7537 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/1.896, allocations: 0.6131 MB / 0.7543 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/1.897, allocations: 439.1 kB / 0.7547 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3411/2.238, allocations: 188.2 MB / 0.9385 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/2.238, allocations: 38.81 kB / 0.9385 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=123): time 2.184e-06/2.238, allocations: 0 / 0.9385 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=123): time 0.003941/2.242, allocations: 1.97 MB / 0.9404 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/2.242, allocations: 88.39 kB / 0.9405 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/2.243, allocations: 0.8786 MB / 0.9414 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/2.243, allocations: 37.08 kB / 0.9414 GB, free: 2.863 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Examples/Book/SimpleExamples/Volume/TestPressurizer.mo:6:3-7:27:writable] Warning: The parameter OUVfeedwaterValve has fixed = false and a binding equation OUVfeedwaterValve = 0.01, 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Examples/Book/SimpleExamples/Volume/TestPressurizer.mo:4:3-5:47:writable] Warning: The parameter Wch has fixed = false and a binding equation Wch = 290000.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.0002717/2.243, allocations: 435.6 kB / 0.9418 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/2.243, allocations: 414.1 kB / 0.9422 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/2.244, allocations: 129.8 kB / 0.9423 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001102/2.244, allocations: 359.7 kB / 0.9427 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/2.244, allocations: 417.7 kB / 0.9431 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/2.245, allocations: 0.5942 MB / 0.9437 GB, free: 1.082 MB / 0.7794 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.008443/2.253, allocations: 3.401 MB / 0.947 GB, free: 14.42 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.253, allocations: 0 / 0.947 GB, free: 14.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002115/2.256, allocations: 1.483 MB / 0.9484 GB, free: 13.43 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/2.256, allocations: 5.875 kB / 0.9484 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/2.256, allocations: 12.42 kB / 0.9484 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003181/2.259, allocations: 0.9712 MB / 0.9494 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/2.26, allocations: 259.9 kB / 0.9496 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/2.263, allocations: 3.827 MB / 0.9534 GB, free: 8.652 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/2.263, allocations: 105.9 kB / 0.9535 GB, free: 8.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/2.263, allocations: 39.55 kB / 0.9535 GB, free: 8.527 MB / 0.795 GB Warning: Assuming fixed start value for the following 1 variables: regulation_Niveau.pIsat.Integrateur1.x0:DISCRETE(fixed = true protected = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.pressurizer.hv = 0.0 $DER.regulation_Niveau.pIsat.Integrateur1.x = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.reset.signal,sinkQ1.C.a,pressurizer.Cex.b,pressurizer.Cs.b,pressurizer.Cas.a,sinkQ.C.a,sourceP.C.b,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,SteamValve.C2.b,SteamValve.C1.a,FeedwaterValve_Spray.C2.b,FeedwaterValve_Spray.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,4), (1,3), (5,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0003715/2.264, allocations: 300.9 kB / 0.9538 GB, free: 8.309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/2.264, allocations: 106.2 kB / 0.9539 GB, free: 8.207 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/2.266, allocations: 1.81 MB / 0.9557 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002033/2.268, allocations: 1.378 MB / 0.957 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/2.268, allocations: 0 / 0.957 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/2.268, allocations: 3.984 kB / 0.957 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/2.273, allocations: 3.48 MB / 0.9604 GB, free: 2.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/2.273, allocations: 4 kB / 0.9604 GB, free: 2.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/2.274, allocations: 183.5 kB / 0.9606 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/2.275, allocations: 0.5387 MB / 0.9611 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/2.275, allocations: 28 kB / 0.9612 GB, free: 1.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/2.276, allocations: 1.91 MB / 0.963 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.276, allocations: 6.938 kB / 0.963 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/2.279, allocations: 2.29 MB / 0.9653 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/2.28, allocations: 318.9 kB / 0.9656 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.413e-05/2.28, allocations: 20 kB / 0.9656 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/2.28, allocations: 47.83 kB / 0.9656 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/2.28, allocations: 87.73 kB / 0.9657 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/2.281, allocations: 31.98 kB / 0.9657 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006525/2.281, allocations: 0.6317 MB / 0.9664 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/2.281, allocations: 0 / 0.9664 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003159/2.284, allocations: 1.604 MB / 0.9679 GB, free: 10.47 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (pressurizer.y,pressurizer.P,pressurizer.hl,pressurizer.hv,pressurizer.Tp,regulation_Niveau.pIsat.Integrateur1.x,regulation_Niveau.pT1_1.x) * Number of discrete variables: 1 (regulation_Niveau.pIsat.Integrateur1.x0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,62.5%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,4), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004605/2.289, allocations: 2.239 MB / 0.9701 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002708/2.292, allocations: 1.715 MB / 0.9718 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.292, allocations: 0 / 0.9718 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/2.293, allocations: 0.9124 MB / 0.9727 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/2.295, allocations: 363.6 kB / 0.973 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/2.299, allocations: 3.426 MB / 0.9764 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/2.299, allocations: 1.201 MB / 0.9775 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/2.3, allocations: 75.44 kB / 0.9776 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/2.3, allocations: 6.906 kB / 0.9776 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of Templates: time 0.1843/2.484, allocations: 57.52 MB / 1.034 GB, free: 431 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer.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.Examples.Book.SimpleExamples.Volume.TestPressurizerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizerCalcHelperMain.o] Error 1