Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8321/0.8321, allocations: 150.8 MB / 166.6 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 11.98 kB / 204.7 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 31.33 MB / 236 MB, free: 5.461 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4): time 1.822/2.016, allocations: 293.1 MB / 0.5167 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2178/2.234, allocations: 188.9 MB / 0.7011 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/2.235, allocations: 4 kB / 0.7011 GB, free: 1.898 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002137/2.235, allocations: 44.5 kB / 0.7011 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004439/2.235, allocations: 153 kB / 0.7013 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03203/2.267, allocations: 8.811 MB / 0.7099 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001077/2.269, allocations: 0.5743 MB / 0.7105 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/2.269, allocations: 321.5 kB / 0.7108 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/2.269, allocations: 245.1 kB / 0.711 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/2.27, allocations: 274.8 kB / 0.7113 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.61e-05/2.27, allocations: 36 kB / 0.7113 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.436/2.706, allocations: 16.76 MB / 0.7277 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003281/2.706, allocations: 214.6 kB / 0.7279 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000433/2.707, allocations: 359.9 kB / 0.7282 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/2.719, allocations: 6.254 MB / 0.7343 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/2.719, allocations: 0 / 0.7343 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.286e-06/2.719, allocations: 0 / 0.7343 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.036e-05/2.719, allocations: 6.016 kB / 0.7343 GB, free: 12.63 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006223/2.725, allocations: 2.161 MB / 0.7364 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/2.725, allocations: 9.688 kB / 0.7364 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/2.726, allocations: 112.7 kB / 0.7366 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/2.726, allocations: 0.4885 MB / 0.737 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/2.726, allocations: 38.69 kB / 0.7371 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/2.726, allocations: 45.22 kB / 0.7371 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/2.727, allocations: 0.605 MB / 0.7377 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/2.727, allocations: 1.25 kB / 0.7377 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/2.727, allocations: 26.19 kB / 0.7377 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/2.727, allocations: 13.53 kB / 0.7377 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/2.728, allocations: 0.5884 MB / 0.7383 GB, free: 10.93 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.00234/2.731, allocations: 2.333 MB / 0.7406 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/2.732, allocations: 0.6451 MB / 0.7412 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/2.733, allocations: 213.4 kB / 0.7414 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2834/3.016, allocations: 140.8 MB / 0.879 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/3.016, allocations: 38.16 kB / 0.879 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/3.016, allocations: 1.203 kB / 0.879 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.003356/3.019, allocations: 1.07 MB / 0.8801 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/3.019, allocations: 55.41 kB / 0.8801 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/3.021, allocations: 0.9026 MB / 0.881 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/3.021, allocations: 29.45 kB / 0.881 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/3.021, allocations: 479.1 kB / 0.8815 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/3.021, allocations: 104.5 kB / 0.8816 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/3.022, allocations: 93.08 kB / 0.8817 GB, free: 8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001258/3.022, allocations: 325 kB / 0.882 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/3.022, allocations: 222.3 kB / 0.8822 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/3.023, allocations: 343.4 kB / 0.8825 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/3.024, allocations: 0.5522 MB / 0.8831 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/3.024, allocations: 4 kB / 0.8831 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001671/3.025, allocations: 0.8651 MB / 0.8839 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/3.025, allocations: 8 kB / 0.8839 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/3.025, allocations: 4 kB / 0.8839 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004605/3.03, allocations: 0.7866 MB / 0.8847 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/3.03, allocations: 78.14 kB / 0.8848 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/3.032, allocations: 1.236 MB / 0.886 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/3.032, allocations: 75.16 kB / 0.886 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/3.032, allocations: 28.12 kB / 0.8861 GB, free: 4.113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003645/3.033, allocations: 253.4 kB / 0.8863 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/3.033, allocations: 92.23 kB / 0.8864 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/3.034, allocations: 0.698 MB / 0.8871 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/3.034, allocations: 4 kB / 0.8871 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/3.034, allocations: 0 / 0.8871 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/3.034, allocations: 0 / 0.8871 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/3.035, allocations: 0.6623 MB / 0.8877 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/3.035, allocations: 1.312 kB / 0.8877 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/3.036, allocations: 55.34 kB / 0.8878 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/3.038, allocations: 453.1 kB / 0.8882 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/3.038, allocations: 7.359 kB / 0.8882 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008993/3.039, allocations: 0.7335 MB / 0.8889 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/3.039, allocations: 0 / 0.8889 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/3.041, allocations: 0.9977 MB / 0.8899 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/3.041, allocations: 185.8 kB / 0.8901 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/3.041, allocations: 14.06 kB / 0.8901 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/3.042, allocations: 23.22 kB / 0.8901 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/3.042, allocations: 23.47 kB / 0.8901 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/3.042, allocations: 11.25 kB / 0.8902 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007775/3.042, allocations: 0.6218 MB / 0.8908 GB, free: 24 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/3.042, allocations: 0 / 0.8908 GB, free: 24 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004731/3.047, allocations: 1.344 MB / 0.8921 GB, free: 14.78 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008579/3.056, allocations: 2.013 MB / 0.894 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001379/3.057, allocations: 0.5423 MB / 0.8946 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/3.057, allocations: 0 / 0.8946 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000776/3.058, allocations: 291.9 kB / 0.8948 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/3.059, allocations: 94.47 kB / 0.8949 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/3.062, allocations: 1.906 MB / 0.8968 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/3.063, allocations: 1.002 MB / 0.8978 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/3.063, allocations: 35.44 kB / 0.8978 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/3.063, allocations: 0 / 0.8978 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.05787/3.121, allocations: 32.41 MB / 0.9295 GB, free: 9.379 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4CalcHelperMain.o] Error 1