Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.734/0.734, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.421e-05, allocations: 7.984 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 31.98 MB / 237.4 MB, free: 5.43 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.SimpleExamples.TestInvSingularPressureLoss): time 1.421/1.555, allocations: 293.6 MB / 0.5186 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1784/1.733, allocations: 186.1 MB / 0.7004 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/1.733, allocations: 4 kB / 0.7004 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.878e-05/1.733, allocations: 23.78 kB / 0.7004 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/1.734, allocations: 107.2 kB / 0.7005 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2846/2.018, allocations: 8.811 MB / 0.7091 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00048/2.019, allocations: 365.2 kB / 0.7094 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/2.019, allocations: 163.6 kB / 0.7096 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/2.019, allocations: 124.5 kB / 0.7097 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/2.02, allocations: 136.8 kB / 0.7098 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/2.02, allocations: 13.28 kB / 0.7099 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02832/2.048, allocations: 20 MB / 0.7294 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/2.048, allocations: 53.05 kB / 0.7294 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/2.048, allocations: 176.5 kB / 0.7296 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009271/2.058, allocations: 6.65 MB / 0.7361 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/2.058, allocations: 0 / 0.7361 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/2.058, allocations: 0 / 0.7361 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.344e-06/2.058, allocations: 0.6875 kB / 0.7361 GB, free: 3.98 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.004304/2.062, allocations: 1.675 MB / 0.7377 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/2.062, allocations: 9.625 kB / 0.7377 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/2.062, allocations: 44.34 kB / 0.7378 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/2.062, allocations: 284.4 kB / 0.7381 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/2.062, allocations: 29.47 kB / 0.7381 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/2.062, allocations: 35.34 kB / 0.7381 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/2.063, allocations: 359.7 kB / 0.7385 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/2.063, allocations: 2.906 kB / 0.7385 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/2.063, allocations: 14.38 kB / 0.7385 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/2.063, allocations: 15.28 kB / 0.7385 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/2.063, allocations: 234.6 kB / 0.7387 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06608/2.129, allocations: 32.19 MB / 0.7702 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/2.13, allocations: 75.19 kB / 0.7702 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/2.13, allocations: 36.2 kB / 0.7703 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2174/2.347, allocations: 119.3 MB / 0.8867 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/2.347, allocations: 30.56 kB / 0.8867 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 3.407e-06/2.347, allocations: 4 kB / 0.8868 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0004231/2.348, allocations: 125.1 kB / 0.8869 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/2.348, allocations: 51.41 kB / 0.8869 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/2.348, allocations: 309.6 kB / 0.8872 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/2.348, allocations: 29.7 kB / 0.8872 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/2.348, allocations: 223.2 kB / 0.8875 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/2.348, allocations: 23.38 kB / 0.8875 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/2.348, allocations: 35.67 kB / 0.8875 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.348, allocations: 330.2 kB / 0.8878 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/2.349, allocations: 43.03 kB / 0.8879 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/2.349, allocations: 147.6 kB / 0.888 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/2.349, allocations: 203.2 kB / 0.8882 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/2.349, allocations: 0 / 0.8882 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003953/2.349, allocations: 229.5 kB / 0.8884 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/2.349, allocations: 8 kB / 0.8884 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/2.349, allocations: 8 kB / 0.8884 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/2.35, allocations: 8.406 kB / 0.8884 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/2.35, allocations: 156.3 kB / 0.8886 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/2.35, allocations: 6.906 kB / 0.8886 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/2.35, allocations: 47.2 kB / 0.8886 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/2.35, allocations: 12 kB / 0.8887 GB, free: 8.715 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,sinkQ.fluid,invSingularPressureLoss.fluid,sourcePQ.fluid1,sourcePQ.C.diff_on_2,invSingularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/2.351, allocations: 144.2 kB / 0.8888 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/2.351, allocations: 23.72 kB / 0.8888 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/2.351, allocations: 125 kB / 0.8889 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/2.351, allocations: 0 / 0.8889 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/2.351, allocations: 0 / 0.8889 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/2.351, allocations: 4 kB / 0.8889 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3713/2.722, allocations: 115.5 MB / 1.002 GB, free: 437.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/2.722, allocations: 4.125 kB / 1.002 GB, free: 437.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/2.722, allocations: 21.59 kB / 1.002 GB, free: 437.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/2.722, allocations: 3.75 kB / 1.002 GB, free: 437.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/2.722, allocations: 3.078 kB / 1.002 GB, free: 437.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/2.722, allocations: 3.531 kB / 1.002 GB, free: 437.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.722, allocations: 0 / 1.002 GB, free: 437.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/2.723, allocations: 156.3 kB / 1.002 GB, free: 437.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/2.723, allocations: 111.6 kB / 1.002 GB, free: 437.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/2.723, allocations: 2.594 kB / 1.002 GB, free: 437.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/2.723, allocations: 17.06 kB / 1.002 GB, free: 437.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/2.723, allocations: 9.844 kB / 1.002 GB, free: 437.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/2.723, allocations: 3.266 kB / 1.002 GB, free: 437.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001836/2.723, allocations: 219 kB / 1.002 GB, free: 437.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.723, allocations: 0 / 1.002 GB, free: 437.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003476/2.727, allocations: 1.436 MB / 1.004 GB, free: 437.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005131/2.732, allocations: 2.251 MB / 1.006 GB, free: 437.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003386/2.732, allocations: 122.4 kB / 1.006 GB, free: 437.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/2.732, allocations: 0 / 1.006 GB, free: 437.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/2.732, allocations: 29.7 kB / 1.006 GB, free: 437.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/2.733, allocations: 70.58 kB / 1.006 GB, free: 437.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/2.733, allocations: 0.5896 MB / 1.007 GB, free: 436.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/2.733, allocations: 0.759 MB / 1.007 GB, free: 435.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/2.733, allocations: 35.91 kB / 1.007 GB, free: 435.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.042e-06/2.733, allocations: 4 kB / 1.007 GB, free: 435.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.02975/2.763, allocations: 26.96 MB / 1.034 GB, free: 420.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLossCalcHelperMain.o] Error 1