Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.349e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, 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_3): time 1.297/1.414, allocations: 294.6 MB / 0.5195 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3951/1.809, allocations: 193.1 MB / 0.7081 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/1.81, allocations: 7.781 kB / 0.7081 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/1.81, allocations: 53.78 kB / 0.7081 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/1.81, allocations: 196.8 kB / 0.7083 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02089/1.831, allocations: 10.56 MB / 0.7186 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006185/1.832, allocations: 0.7873 MB / 0.7194 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/1.832, allocations: 354.2 kB / 0.7197 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/1.832, allocations: 298.9 kB / 0.72 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/1.833, allocations: 336.4 kB / 0.7203 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/1.833, allocations: 29.31 kB / 0.7204 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0275/1.86, allocations: 22.68 MB / 0.7425 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/1.86, allocations: 236.1 kB / 0.7427 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000393/1.861, allocations: 450.7 kB / 0.7432 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009382/1.87, allocations: 8.221 MB / 0.7512 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/1.87, allocations: 0 / 0.7512 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.472e-06/1.87, allocations: 1.125 kB / 0.7512 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.07e-05/1.87, allocations: 4 kB / 0.7512 GB, free: 14.51 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.005258/1.875, allocations: 2.61 MB / 0.7537 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/1.875, allocations: 9.375 kB / 0.7537 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/1.876, allocations: 136.8 kB / 0.7539 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/1.876, allocations: 0.5559 MB / 0.7544 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/1.876, allocations: 49.47 kB / 0.7545 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/1.876, allocations: 65.91 kB / 0.7545 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.877, allocations: 0.8578 MB / 0.7554 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.877, allocations: 0 / 0.7554 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/1.877, allocations: 30.69 kB / 0.7554 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.877, allocations: 14.47 kB / 0.7554 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/1.879, allocations: 0.925 MB / 0.7563 GB, free: 11.88 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.008605/1.887, allocations: 8.111 MB / 0.7642 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/1.888, allocations: 0.9841 MB / 0.7652 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/1.889, allocations: 345.3 kB / 0.7655 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6266/2.515, allocations: 223.9 MB / 0.9841 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/2.516, allocations: 40.59 kB / 0.9842 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/2.516, allocations: 0 / 0.9842 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.003722/2.519, allocations: 1.668 MB / 0.9858 GB, free: 237.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/2.519, allocations: 57.62 kB / 0.9859 GB, free: 237.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000783/2.52, allocations: 0.9622 MB / 0.9868 GB, free: 237 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/2.52, allocations: 32.83 kB / 0.9868 GB, free: 237 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/2.52, allocations: 0.5172 MB / 0.9873 GB, free: 236.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/2.52, allocations: 140.6 kB / 0.9875 GB, free: 236.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/2.52, allocations: 56.25 kB / 0.9875 GB, free: 236.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/2.521, allocations: 332.6 kB / 0.9878 GB, free: 236.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/2.521, allocations: 324.1 kB / 0.9881 GB, free: 236.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/2.521, allocations: 455.3 kB / 0.9886 GB, free: 236.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008298/2.522, allocations: 0.7596 MB / 0.9893 GB, free: 236.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/2.522, allocations: 4 kB / 0.9893 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001483/2.524, allocations: 1.14 MB / 0.9904 GB, free: 236 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/2.524, allocations: 8.281 kB / 0.9904 GB, free: 236 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/2.524, allocations: 3.984 kB / 0.9904 GB, free: 236 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/2.529, allocations: 1.107 MB / 0.9915 GB, free: 236 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/2.53, allocations: 93.97 kB / 0.9916 GB, free: 236 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/2.531, allocations: 1.305 MB / 0.9929 GB, free: 235.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/2.531, allocations: 81.14 kB / 0.993 GB, free: 235.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/2.531, allocations: 20.34 kB / 0.993 GB, free: 235.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,lumpedStraightPipe.fluid,sourceP.fluid1,sourceP.C.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002481/2.531, allocations: 290.8 kB / 0.9933 GB, free: 235.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/2.531, allocations: 105.2 kB / 0.9934 GB, free: 235.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/2.533, allocations: 1.092 MB / 0.9944 GB, free: 235.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/2.533, allocations: 6.906 kB / 0.9944 GB, free: 235.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/2.533, allocations: 3.938 kB / 0.9944 GB, free: 235.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/2.533, allocations: 3 kB / 0.9944 GB, free: 235.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/2.535, allocations: 1.872 MB / 0.9963 GB, free: 234.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/2.535, allocations: 0 / 0.9963 GB, free: 234.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/2.535, allocations: 64.33 kB / 0.9963 GB, free: 234.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/2.538, allocations: 0.6112 MB / 0.9969 GB, free: 234.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/2.538, allocations: 12.5 kB / 0.9969 GB, free: 234.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/2.539, allocations: 1.217 MB / 0.9981 GB, free: 234.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/2.539, allocations: 0.9844 kB / 0.9981 GB, free: 234.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/2.54, allocations: 1.52 MB / 0.9996 GB, free: 234 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/2.54, allocations: 204.5 kB / 0.9998 GB, free: 233.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/2.54, allocations: 7.781 kB / 0.9998 GB, free: 233.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/2.541, allocations: 33.16 kB / 0.9999 GB, free: 233.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/2.541, allocations: 25.58 kB / 0.9999 GB, free: 233.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/2.541, allocations: 15.14 kB / 0.9999 GB, free: 233.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005265/2.541, allocations: 0.6603 MB / 1.001 GB, free: 233.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.31e-07/2.541, allocations: 0 / 1.001 GB, free: 233.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003428/2.545, allocations: 1.929 MB / 1.002 GB, free: 233.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (lumpedStraightPipe.Q) * 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 (26): * Single equations (assignments): 25 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005374/2.55, allocations: 2.962 MB / 1.005 GB, free: 233.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00111/2.551, allocations: 0.778 MB / 1.006 GB, free: 233.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/2.551, allocations: 1.656 kB / 1.006 GB, free: 233.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005419/2.552, allocations: 391.4 kB / 1.006 GB, free: 233.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/2.552, allocations: 111.3 kB / 1.007 GB, free: 233.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/2.555, allocations: 2.344 MB / 1.009 GB, free: 232.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/2.555, allocations: 1.055 MB / 1.01 GB, free: 231.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/2.555, allocations: 51.05 kB / 1.01 GB, free: 231.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/2.555, allocations: 3.469 kB / 1.01 GB, free: 231.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.03712/2.592, allocations: 41.37 MB / 1.05 GB, free: 204.1 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.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_3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3CalcHelperMain.o] Error 1