Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8593/0.8593, allocations: 150.8 MB / 166.6 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 27.91 kB / 204.7 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 31.32 MB / 236 MB, free: 5.711 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_2): time 1.927/2.125, allocations: 293.1 MB / 0.5167 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2086/2.333, allocations: 188.9 MB / 0.7011 GB, free: 1.445 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006034/2.334, allocations: 7.938 kB / 0.7011 GB, free: 1.438 MB / 0.5763 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.0002164/2.334, allocations: 44.47 kB / 0.7012 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004468/2.335, allocations: 145 kB / 0.7013 GB, free: 1.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.02968/2.364, allocations: 8.809 MB / 0.7099 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009408/2.365, allocations: 0.5626 MB / 0.7104 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/2.366, allocations: 320.6 kB / 0.7107 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/2.366, allocations: 241.1 kB / 0.711 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/2.366, allocations: 266.8 kB / 0.7112 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/2.366, allocations: 32 kB / 0.7113 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4354/2.802, allocations: 16.74 MB / 0.7276 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/2.802, allocations: 207.5 kB / 0.7278 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003904/2.802, allocations: 361.4 kB / 0.7282 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/2.814, allocations: 6.235 MB / 0.7342 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/2.814, allocations: 2 kB / 0.7342 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/2.814, allocations: 0 / 0.7342 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.034e-05/2.814, allocations: 0 / 0.7342 GB, free: 12.92 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.006452/2.821, allocations: 2.15 MB / 0.7363 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/2.821, allocations: 14.88 kB / 0.7364 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/2.821, allocations: 105.6 kB / 0.7365 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/2.821, allocations: 496.6 kB / 0.7369 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/2.821, allocations: 42.28 kB / 0.737 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/2.821, allocations: 48.06 kB / 0.737 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/2.822, allocations: 0.6903 MB / 0.7377 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/2.822, allocations: 0 / 0.7377 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/2.822, allocations: 23.73 kB / 0.7377 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/2.822, allocations: 12.88 kB / 0.7377 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/2.823, allocations: 0.7038 MB / 0.7384 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06563/2.889, allocations: 33.31 MB / 0.7709 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/2.89, allocations: 0.847 MB / 0.7718 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/2.891, allocations: 275.8 kB / 0.772 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2144/3.105, allocations: 110.6 MB / 0.88 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/3.105, allocations: 37.22 kB / 0.88 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=29): time 2.655e-06/3.105, allocations: 0 / 0.88 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29): time 0.004199/3.109, allocations: 1.462 MB / 0.8815 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/3.109, allocations: 55.41 kB / 0.8815 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/3.111, allocations: 0.8911 MB / 0.8824 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/3.111, allocations: 30.09 kB / 0.8824 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/3.111, allocations: 456.1 kB / 0.8829 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-05/3.111, allocations: 102.6 kB / 0.883 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/3.112, allocations: 89.47 kB / 0.883 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001429/3.112, allocations: 320.8 kB / 0.8833 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/3.112, allocations: 269.3 kB / 0.8836 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/3.113, allocations: 394.4 kB / 0.884 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009762/3.114, allocations: 0.6621 MB / 0.8846 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/3.114, allocations: 4 kB / 0.8846 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0017/3.115, allocations: 0.9309 MB / 0.8855 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/3.115, allocations: 7.938 kB / 0.8855 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/3.116, allocations: 5.125 kB / 0.8855 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/3.12, allocations: 0.7201 MB / 0.8863 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/3.12, allocations: 73.91 kB / 0.8863 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/3.121, allocations: 1.172 MB / 0.8875 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/3.122, allocations: 55.17 kB / 0.8875 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/3.122, allocations: 23.09 kB / 0.8875 GB, free: 1.445 MB / 0.7169 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.0004343/3.122, allocations: 273.5 kB / 0.8878 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/3.123, allocations: 86.88 kB / 0.8879 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/3.124, allocations: 0.8916 MB / 0.8888 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/3.124, allocations: 9.031 kB / 0.8888 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/3.124, allocations: 4 kB / 0.8888 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/3.124, allocations: 0 / 0.8888 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/3.127, allocations: 1.569 MB / 0.8903 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/3.127, allocations: 7.125 kB / 0.8903 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/3.127, allocations: 35.97 kB / 0.8903 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/3.13, allocations: 0.5755 MB / 0.8909 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/3.13, allocations: 8.719 kB / 0.8909 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/3.131, allocations: 1.167 MB / 0.8921 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/3.131, allocations: 3.938 kB / 0.8921 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/3.133, allocations: 0.9187 MB / 0.893 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/3.133, allocations: 174.5 kB / 0.8931 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/3.133, allocations: 11.31 kB / 0.8931 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/3.133, allocations: 15.61 kB / 0.8931 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/3.133, allocations: 23.28 kB / 0.8932 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/3.133, allocations: 15.67 kB / 0.8932 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008699/3.134, allocations: 0.6102 MB / 0.8938 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/3.134, allocations: 1.203 kB / 0.8938 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004597/3.139, allocations: 1.333 MB / 0.8951 GB, free: 10.78 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.008449/3.147, allocations: 2.015 MB / 0.897 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001509/3.149, allocations: 0.6346 MB / 0.8977 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/3.149, allocations: 0 / 0.8977 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/3.15, allocations: 335.9 kB / 0.898 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/3.15, allocations: 87.92 kB / 0.8981 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/3.154, allocations: 1.936 MB / 0.9 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/3.154, allocations: 0.9972 MB / 0.9009 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/3.155, allocations: 31.44 kB / 0.901 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/3.155, allocations: 0 / 0.901 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of Templates: time 0.05143/3.206, allocations: 31.95 MB / 0.9322 GB, free: 5.684 MB / 0.7638 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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_2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2CalcHelperMain.o] Error 1