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.6952/0.6952, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.001e-05, allocations: 0 / 205.4 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 31.99 MB / 237.4 MB, free: 5.418 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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2): time 1.319/1.437, allocations: 294 MB / 0.519 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1637/1.601, allocations: 186.6 MB / 0.7012 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/1.601, allocations: 11.88 kB / 0.7012 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.852e-05/1.601, allocations: 35.64 kB / 0.7013 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/1.602, allocations: 145 kB / 0.7014 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2427/1.845, allocations: 8.977 MB / 0.7102 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005471/1.845, allocations: 0.5655 MB / 0.7107 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/1.845, allocations: 288.1 kB / 0.711 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/1.846, allocations: 218.6 kB / 0.7112 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/1.846, allocations: 240.8 kB / 0.7114 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/1.846, allocations: 20.12 kB / 0.7115 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02066/1.867, allocations: 16.83 MB / 0.7279 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/1.867, allocations: 190.7 kB / 0.7281 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/1.867, allocations: 368.7 kB / 0.7284 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00694/1.874, allocations: 6.141 MB / 0.7344 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.874, allocations: 0 / 0.7344 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/1.874, allocations: 2.578 kB / 0.7344 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.874, allocations: 0 / 0.7344 GB, free: 3.988 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.003437/1.877, allocations: 2.016 MB / 0.7364 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/1.877, allocations: 9.219 kB / 0.7364 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/1.878, allocations: 109.5 kB / 0.7365 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/1.878, allocations: 0.4889 MB / 0.737 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/1.878, allocations: 36.47 kB / 0.737 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/1.878, allocations: 46.09 kB / 0.7371 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007839/1.879, allocations: 0.7021 MB / 0.7377 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.879, allocations: 1.969 kB / 0.7377 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/1.879, allocations: 24.25 kB / 0.7378 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/1.879, allocations: 11.62 kB / 0.7378 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/1.88, allocations: 0.7407 MB / 0.7385 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0636/1.943, allocations: 33.6 MB / 0.7713 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.945, allocations: 0.863 MB / 0.7722 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/1.945, allocations: 291.6 kB / 0.7724 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1995/2.145, allocations: 111.5 MB / 0.8813 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/2.145, allocations: 35.97 kB / 0.8813 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/2.145, allocations: 0 / 0.8813 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29): time 0.003797/2.148, allocations: 1.559 MB / 0.8829 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/2.148, allocations: 60.66 kB / 0.8829 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/2.149, allocations: 0.8911 MB / 0.8838 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/2.149, allocations: 29.52 kB / 0.8838 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/2.15, allocations: 459.9 kB / 0.8843 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/2.15, allocations: 104.6 kB / 0.8844 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/2.15, allocations: 36.7 kB / 0.8844 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.881e-05/2.15, allocations: 325.3 kB / 0.8847 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/2.15, allocations: 280 kB / 0.885 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/2.151, allocations: 413 kB / 0.8854 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/2.152, allocations: 0.6924 MB / 0.886 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/2.152, allocations: 0 / 0.886 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001442/2.153, allocations: 0.9667 MB / 0.887 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/2.153, allocations: 15.08 kB / 0.887 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/2.153, allocations: 8 kB / 0.887 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/2.157, allocations: 0.7298 MB / 0.8877 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/2.157, allocations: 85.58 kB / 0.8878 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/2.158, allocations: 1.186 MB / 0.889 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/2.159, allocations: 70.78 kB / 0.889 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/2.159, allocations: 15.75 kB / 0.889 GB, free: 10.06 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.000249/2.159, allocations: 265.7 kB / 0.8893 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/2.159, allocations: 94.86 kB / 0.8894 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/2.16, allocations: 0.9182 MB / 0.8903 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/2.16, allocations: 7.938 kB / 0.8903 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/2.16, allocations: 4 kB / 0.8903 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/2.16, allocations: 3.984 kB / 0.8903 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/2.162, allocations: 1.607 MB / 0.8919 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/2.162, allocations: 0 / 0.8919 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/2.163, allocations: 38.89 kB / 0.8919 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/2.165, allocations: 0.6023 MB / 0.8925 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/2.165, allocations: 9.547 kB / 0.8925 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/2.166, allocations: 1.195 MB / 0.8937 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.166, allocations: 3.938 kB / 0.8937 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/2.168, allocations: 0.9545 MB / 0.8946 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/2.168, allocations: 182.9 kB / 0.8948 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/2.168, allocations: 7.688 kB / 0.8948 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/2.168, allocations: 23.61 kB / 0.8948 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/2.168, allocations: 19.72 kB / 0.8948 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/2.168, allocations: 7.984 kB / 0.8948 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005705/2.169, allocations: 0.6183 MB / 0.8954 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/2.169, allocations: 4 kB / 0.8954 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00264/2.171, allocations: 1.323 MB / 0.8967 GB, free: 3.227 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.004155/2.175, allocations: 1.977 MB / 0.8987 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001052/2.177, allocations: 0.6576 MB / 0.8993 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/2.177, allocations: 4.062 kB / 0.8993 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005312/2.177, allocations: 342 kB / 0.8996 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/2.178, allocations: 92.92 kB / 0.8997 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/2.18, allocations: 1.992 MB / 0.9017 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/2.18, allocations: 0.9984 MB / 0.9026 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/2.18, allocations: 34.34 kB / 0.9027 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/2.18, allocations: 4 kB / 0.9027 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of Templates: time 0.03316/2.214, allocations: 31.28 MB / 0.9332 GB, free: 14.62 MB / 0.7794 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