Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8435/0.8435, allocations: 150.8 MB / 166.6 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 11.98 kB / 204.7 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 31.33 MB / 236 MB, free: 5.449 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_1): time 1.819/2.016, allocations: 293.1 MB / 0.5167 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2213/2.237, allocations: 188.9 MB / 0.7011 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/2.238, allocations: 4 kB / 0.7011 GB, free: 188 kB / 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/SourceAngularVelocity.mo:11:3-15: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.00021/2.238, allocations: 36.48 kB / 0.7012 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4083/2.646, allocations: 142 kB / 0.7013 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02832/2.675, allocations: 8.811 MB / 0.7099 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001077/2.676, allocations: 0.5642 MB / 0.7104 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/2.676, allocations: 311.8 kB / 0.7107 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/2.677, allocations: 243.9 kB / 0.711 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/2.677, allocations: 264 kB / 0.7112 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/2.677, allocations: 33 kB / 0.7113 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03171/2.709, allocations: 16.75 MB / 0.7276 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/2.709, allocations: 211.6 kB / 0.7278 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005462/2.71, allocations: 359.9 kB / 0.7282 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01405/2.724, allocations: 6.234 MB / 0.7342 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/2.724, allocations: 0 / 0.7342 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/2.724, allocations: 1.094 kB / 0.7342 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.17e-05/2.724, allocations: 0 / 0.7342 GB, free: 2.977 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.008507/2.732, allocations: 2.15 MB / 0.7363 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/2.732, allocations: 9.688 kB / 0.7364 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/2.733, allocations: 112.5 kB / 0.7365 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/2.733, allocations: 0.4914 MB / 0.7369 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/2.733, allocations: 35.47 kB / 0.737 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/2.733, allocations: 47.62 kB / 0.737 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/2.735, allocations: 0.6863 MB / 0.7377 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/2.735, allocations: 5.859 kB / 0.7377 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/2.735, allocations: 24.11 kB / 0.7377 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/2.735, allocations: 13.31 kB / 0.7377 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/2.736, allocations: 0.703 MB / 0.7384 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07263/2.808, allocations: 33.32 MB / 0.771 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/2.81, allocations: 0.8471 MB / 0.7718 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/2.81, allocations: 279.1 kB / 0.772 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2249/3.035, allocations: 110.5 MB / 0.88 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/3.035, allocations: 38.38 kB / 0.88 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=29): time 2.495e-06/3.035, allocations: 0 / 0.88 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29): time 0.004193/3.04, allocations: 1.458 MB / 0.8815 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/3.04, allocations: 56.61 kB / 0.8815 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/3.041, allocations: 0.8912 MB / 0.8824 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/3.041, allocations: 29.08 kB / 0.8824 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/3.041, allocations: 456.1 kB / 0.8828 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.454e-05/3.041, allocations: 104.2 kB / 0.8829 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/3.042, allocations: 85.66 kB / 0.883 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001188/3.042, allocations: 329 kB / 0.8833 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/3.042, allocations: 268.6 kB / 0.8836 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/3.043, allocations: 394 kB / 0.884 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/3.044, allocations: 0.6743 MB / 0.8846 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/3.044, allocations: 0 / 0.8846 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001674/3.045, allocations: 0.9363 MB / 0.8855 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/3.045, allocations: 11.94 kB / 0.8856 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/3.045, allocations: 4 kB / 0.8856 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/3.05, allocations: 0.713 MB / 0.8863 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/3.05, allocations: 73.77 kB / 0.8863 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/3.051, allocations: 1.166 MB / 0.8875 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/3.052, allocations: 62.91 kB / 0.8875 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/3.052, allocations: 15.5 kB / 0.8875 GB, free: 8.574 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ.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 {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0003764/3.052, allocations: 281.1 kB / 0.8878 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/3.052, allocations: 90.88 kB / 0.8879 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/3.054, allocations: 0.8833 MB / 0.8888 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/3.054, allocations: 3.938 kB / 0.8888 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/3.054, allocations: 4 kB / 0.8888 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/3.054, allocations: 0 / 0.8888 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/3.056, allocations: 1.571 MB / 0.8903 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/3.056, allocations: 0 / 0.8903 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/3.057, allocations: 40.08 kB / 0.8903 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/3.059, allocations: 0.579 MB / 0.8909 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/3.059, allocations: 11 kB / 0.8909 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/3.061, allocations: 1.17 MB / 0.8921 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/3.061, allocations: 3.938 kB / 0.8921 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/3.062, allocations: 0.9219 MB / 0.893 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/3.062, allocations: 178.2 kB / 0.8931 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/3.063, allocations: 11.56 kB / 0.8931 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/3.063, allocations: 23.34 kB / 0.8932 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/3.063, allocations: 15.61 kB / 0.8932 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/3.063, allocations: 15.36 kB / 0.8932 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008338/3.064, allocations: 0.6115 MB / 0.8938 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/3.064, allocations: 0 / 0.8938 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004697/3.068, allocations: 1.325 MB / 0.8951 GB, free: 1.898 MB / 0.7325 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 (15): * Single equations (assignments): 14 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008942/3.077, allocations: 1.998 MB / 0.897 GB, free: 208 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001509/3.079, allocations: 0.6404 MB / 0.8977 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/3.079, allocations: 1.062 kB / 0.8977 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/3.08, allocations: 333.9 kB / 0.898 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/3.08, allocations: 93.5 kB / 0.8981 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/3.084, allocations: 1.944 MB / 0.9 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/3.085, allocations: 0.9972 MB / 0.9009 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/3.085, allocations: 35.42 kB / 0.901 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/3.085, allocations: 4 kB / 0.901 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of Templates: time 0.05187/3.137, allocations: 31.94 MB / 0.9322 GB, free: 12.7 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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_1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1CalcHelperMain.o] Error 1