Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6896/0.6896, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.281e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 31.98 MB / 237.4 MB, free: 5.441 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.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.315/1.432, allocations: 293.7 MB / 0.5186 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03486/1.467, allocations: 37 MB / 0.5548 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/1.467, allocations: 4 kB / 0.5548 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/1.468, allocations: 83.56 kB / 0.5549 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/1.468, allocations: 83.3 kB / 0.5549 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01432/1.482, allocations: 7.323 MB / 0.5621 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003453/1.483, allocations: 374.3 kB / 0.5624 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/1.483, allocations: 121.9 kB / 0.5626 GB, free: 500 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/1.483, allocations: 135.2 kB / 0.5627 GB, free: 364 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/1.483, allocations: 123.3 kB / 0.5628 GB, free: 240 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/1.483, allocations: 8 kB / 0.5628 GB, free: 232 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02411/1.507, allocations: 17.8 MB / 0.5802 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/1.507, allocations: 39.73 kB / 0.5802 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/1.507, allocations: 168.9 kB / 0.5804 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006732/1.514, allocations: 5.645 MB / 0.5859 GB, free: 8.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/1.514, allocations: 0 / 0.5859 GB, free: 8.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.514, allocations: 0 / 0.5859 GB, free: 8.531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/1.514, allocations: 0 / 0.5859 GB, free: 8.531 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002644/1.517, allocations: 1.435 MB / 0.5873 GB, free: 7.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/1.517, allocations: 12.03 kB / 0.5873 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/1.517, allocations: 31.56 kB / 0.5874 GB, free: 7.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/1.517, allocations: 253.2 kB / 0.5876 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.517, allocations: 16.56 kB / 0.5876 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/1.517, allocations: 20 kB / 0.5876 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/1.518, allocations: 336.2 kB / 0.588 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.518, allocations: 4 kB / 0.588 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/1.518, allocations: 8 kB / 0.588 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.518, allocations: 8 kB / 0.588 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/1.518, allocations: 237.1 kB / 0.5882 GB, free: 6.078 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03186/1.55, allocations: 18.14 MB / 0.6059 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/1.55, allocations: 203.3 kB / 0.6061 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/1.551, allocations: 126 kB / 0.6062 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1338/1.684, allocations: 77.94 MB / 0.6823 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/1.684, allocations: 38.55 kB / 0.6824 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 3.146e-06/1.684, allocations: 0 / 0.6824 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004007/1.688, allocations: 1.081 MB / 0.6834 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/1.688, allocations: 59.41 kB / 0.6835 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/1.689, allocations: 250.5 kB / 0.6837 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.689, allocations: 25.7 kB / 0.6837 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/1.689, allocations: 152.6 kB / 0.6839 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/1.689, allocations: 137.9 kB / 0.684 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/1.689, allocations: 33.7 kB / 0.6841 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.689, allocations: 350.7 kB / 0.6844 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/1.689, allocations: 96.41 kB / 0.6845 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/1.689, allocations: 150.8 kB / 0.6846 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/1.69, allocations: 282 kB / 0.6849 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.69, allocations: 0 / 0.6849 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00222/1.692, allocations: 0.6841 MB / 0.6856 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.692, allocations: 5.406 kB / 0.6856 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.692, allocations: 2.297 kB / 0.6856 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/1.693, allocations: 234.7 kB / 0.6858 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/1.693, allocations: 16 kB / 0.6858 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007185/1.694, allocations: 0.7559 MB / 0.6866 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/1.694, allocations: 39.59 kB / 0.6866 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/1.694, allocations: 12.03 kB / 0.6866 GB, free: 6.531 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.694, allocations: 141.7 kB / 0.6867 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/1.694, allocations: 31.56 kB / 0.6868 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/1.695, allocations: 0.795 MB / 0.6875 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004296/1.695, allocations: 302.4 kB / 0.6878 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.695, allocations: 0 / 0.6878 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.695, allocations: 7.922 kB / 0.6878 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.696, allocations: 0.8842 MB / 0.6887 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.696, allocations: 3.984 kB / 0.6887 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/1.696, allocations: 24 kB / 0.6887 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006144/1.697, allocations: 228.6 kB / 0.6889 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/1.697, allocations: 8 kB / 0.689 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006736/1.698, allocations: 0.7653 MB / 0.6897 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.698, allocations: 0 / 0.6897 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/1.698, allocations: 439.8 kB / 0.6901 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.698, allocations: 152.4 kB / 0.6903 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/1.698, allocations: 8.188 kB / 0.6903 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/1.699, allocations: 8 kB / 0.6903 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/1.699, allocations: 15.91 kB / 0.6903 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/1.699, allocations: 4 kB / 0.6903 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002214/1.699, allocations: 259.1 kB / 0.6905 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.699, allocations: 4 kB / 0.6906 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002064/1.701, allocations: 1.187 MB / 0.6917 GB, free: 1.078 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1334/1.834, allocations: 1.744 MB / 0.6934 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007117/1.835, allocations: 324.1 kB / 0.6937 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.835, allocations: 0 / 0.6937 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/1.835, allocations: 148 kB / 0.6939 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/1.836, allocations: 130 kB / 0.694 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009051/1.837, allocations: 0.7812 MB / 0.6947 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/1.837, allocations: 0.7808 MB / 0.6955 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/1.837, allocations: 21.19 kB / 0.6955 GB, free: 227 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/1.837, allocations: 2.656 kB / 0.6955 GB, free: 227 MB / 0.5762 GB Notification: Performance of Templates: time 0.02595/1.863, allocations: 24.82 MB / 0.7198 GB, free: 220.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1CalcHelperMain.o] Error 1