Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.Fluid.Examples.SimpleExamples.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7466/0.7466, allocations: 150.8 MB / 166.7 MB, free: 15.32 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.623e-05, allocations: 4 kB / 205.4 MB, free: 9.797 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 31.98 MB / 237.4 MB, free: 5.465 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.TestPressurizer): time 1.456/1.599, allocations: 296.7 MB / 0.5216 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4421/2.041, allocations: 197.3 MB / 0.7143 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/2.041, allocations: 17.12 kB / 0.7143 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004719/2.042, allocations: 214.7 kB / 0.7145 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000693/2.043, allocations: 385 kB / 0.7149 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02729/2.07, allocations: 11.41 MB / 0.726 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001501/2.071, allocations: 1.538 MB / 0.7275 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/2.072, allocations: 0.6212 MB / 0.7281 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/2.072, allocations: 0.5067 MB / 0.7286 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/2.073, allocations: 0.5541 MB / 0.7292 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/2.073, allocations: 58.84 kB / 0.7292 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03045/2.104, allocations: 20.6 MB / 0.7493 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/2.104, allocations: 232.3 kB / 0.7496 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007483/2.105, allocations: 0.6033 MB / 0.7502 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/2.118, allocations: 8.09 MB / 0.7581 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/2.118, allocations: 0 / 0.7581 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.863e-06/2.118, allocations: 4 kB / 0.7581 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.962e-05/2.118, allocations: 0 / 0.7581 GB, free: 14.4 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005753/2.124, allocations: 2.617 MB / 0.7606 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/2.124, allocations: 9.281 kB / 0.7606 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/2.124, allocations: 150.3 kB / 0.7608 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/2.125, allocations: 0.5917 MB / 0.7613 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/2.125, allocations: 88.03 kB / 0.7614 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/2.125, allocations: 120 kB / 0.7615 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/2.127, allocations: 1.285 MB / 0.7628 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/2.127, allocations: 6.188 kB / 0.7628 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/2.127, allocations: 51.94 kB / 0.7629 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/2.127, allocations: 33.28 kB / 0.7629 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/2.128, allocations: 0.993 MB / 0.7639 GB, free: 11.65 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.07141/2.2, allocations: 36.63 MB / 0.7996 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/2.2, allocations: 0.5922 MB / 0.8002 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/2.201, allocations: 336.8 kB / 0.8005 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7637/2.965, allocations: 347.8 MB / 1.14 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/2.965, allocations: 40.89 kB / 1.14 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=84): time 2.404e-06/2.965, allocations: 3.469 kB / 1.14 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=84): time 0.003666/2.968, allocations: 1.577 MB / 1.142 GB, free: 308.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/2.968, allocations: 59.84 kB / 1.142 GB, free: 308.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/2.969, allocations: 0.7628 MB / 1.143 GB, free: 307.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/2.969, allocations: 37.58 kB / 1.143 GB, free: 307.9 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Examples/SimpleExamples/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/Fluid/Examples/SimpleExamples/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.0002643/2.97, allocations: 0.5512 MB / 1.143 GB, free: 307.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/2.97, allocations: 296.6 kB / 1.143 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/2.97, allocations: 116.6 kB / 1.144 GB, free: 307.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/2.97, allocations: 396.6 kB / 1.144 GB, free: 306.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/2.97, allocations: 291.2 kB / 1.144 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/2.971, allocations: 0.6287 MB / 1.145 GB, free: 306 MB / 0.8106 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.006814/2.978, allocations: 2.614 MB / 1.147 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/2.978, allocations: 4 kB / 1.147 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002039/2.98, allocations: 1.372 MB / 1.149 GB, free: 302.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/2.98, allocations: 9.969 kB / 1.149 GB, free: 302.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/2.98, allocations: 12 kB / 1.149 GB, free: 302.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/2.984, allocations: 1.246 MB / 1.15 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/2.984, allocations: 143.5 kB / 1.15 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/2.985, allocations: 2.302 MB / 1.152 GB, free: 299.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/2.986, allocations: 126.3 kB / 1.152 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/2.986, allocations: 53.98 kB / 1.152 GB, free: 299.4 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.pressurizer.P = 0.0 pressurizer.P = $START.pressurizer.P. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 17 (pressurizer.Cex.ftype,pressurizer.Cs.ftype,sourceP.C.ftype,pressurizer.fluids[1],FeedwaterValve.fluid,SteamValve.fluid,lumpedStraightPipe.fluid,sinkQ.fluid,sinkQ1.fluid,sourceP.fluid1,pressurizer.Cs.diff_on_1,SteamValve.C2.diff_on_1,pressurizer.Cex.diff_on_1,pressurizer.Cas.diff_on_2,sourceP.C.diff_on_2,pressurizer.Cs.diff_on_2,FeedwaterValve.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): 89 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,4), (4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003554/2.987, allocations: 272.4 kB / 1.153 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/2.987, allocations: 94.8 kB / 1.153 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/2.989, allocations: 1.152 MB / 1.154 GB, free: 298.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001546/2.99, allocations: 0.9066 MB / 1.155 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/2.99, allocations: 0 / 1.155 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/2.99, allocations: 7.984 kB / 1.155 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/2.993, allocations: 2.302 MB / 1.157 GB, free: 295.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.993, allocations: 0 / 1.157 GB, free: 295.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/2.994, allocations: 95.78 kB / 1.157 GB, free: 295.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/2.995, allocations: 305.1 kB / 1.157 GB, free: 295.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/2.995, allocations: 19.17 kB / 1.158 GB, free: 295.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006625/2.996, allocations: 1.701 MB / 1.159 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/2.996, allocations: 0.6562 kB / 1.159 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/2.998, allocations: 1.482 MB / 1.161 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/2.998, allocations: 255.5 kB / 1.161 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/2.998, allocations: 20 kB / 1.161 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/2.999, allocations: 18.78 kB / 1.161 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/2.999, allocations: 52.58 kB / 1.161 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/2.999, allocations: 27.98 kB / 1.161 GB, free: 291.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004278/2.999, allocations: 0.4917 MB / 1.161 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.999, allocations: 0 / 1.161 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004006/3.003, allocations: 1.896 MB / 1.163 GB, free: 289.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pressurizer.y,pressurizer.P,pressurizer.hl,pressurizer.hv,pressurizer.Tp) * 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 (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 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.005537/3.009, allocations: 2.767 MB / 1.166 GB, free: 287.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001551/3.01, allocations: 1.039 MB / 1.167 GB, free: 286.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/3.01, allocations: 448 / 1.167 GB, free: 286.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006944/3.011, allocations: 0.5675 MB / 1.168 GB, free: 285.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/3.012, allocations: 255.7 kB / 1.168 GB, free: 285.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/3.015, allocations: 2.79 MB / 1.171 GB, free: 282.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/3.015, allocations: 1.093 MB / 1.172 GB, free: 281.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/3.015, allocations: 75.42 kB / 1.172 GB, free: 281.5 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/3.015, allocations: 0 / 1.172 GB, free: 281.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.04782/3.063, allocations: 54.57 MB / 1.225 GB, free: 227.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizer.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.Fluid.Examples.SimpleExamples.TestPressurizerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestPressurizerCalcHelperMain.o] Error 1