Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7288/0.7288, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.487e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 31.99 MB / 237.4 MB, free: 5.438 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.TestSingularPressureLoss): time 1.4/1.533, allocations: 293.6 MB / 0.5185 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1706/1.704, allocations: 186.1 MB / 0.7003 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/1.704, allocations: 7.938 kB / 0.7003 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.023e-05/1.704, allocations: 31.78 kB / 0.7004 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/1.705, allocations: 95.22 kB / 0.7004 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2696/1.974, allocations: 8.801 MB / 0.709 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003666/1.975, allocations: 353.9 kB / 0.7094 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/1.975, allocations: 156 kB / 0.7095 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/1.975, allocations: 109.5 kB / 0.7096 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/1.975, allocations: 134.1 kB / 0.7098 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/1.975, allocations: 12.66 kB / 0.7098 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02685/2.002, allocations: 19.99 MB / 0.7293 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/2.002, allocations: 47.19 kB / 0.7293 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/2.002, allocations: 172.9 kB / 0.7295 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/2.014, allocations: 6.645 MB / 0.736 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/2.014, allocations: 4.375 kB / 0.736 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/2.014, allocations: 2.906 kB / 0.736 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.101e-05/2.014, allocations: 1.562 kB / 0.736 GB, free: 4.086 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004367/2.018, allocations: 1.658 MB / 0.7376 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/2.018, allocations: 11.5 kB / 0.7376 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/2.018, allocations: 40.53 kB / 0.7377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/2.019, allocations: 287.2 kB / 0.7379 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/2.019, allocations: 23.75 kB / 0.738 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/2.019, allocations: 30.84 kB / 0.738 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/2.019, allocations: 350.6 kB / 0.7383 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/2.019, allocations: 2.906 kB / 0.7383 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/2.019, allocations: 16.66 kB / 0.7383 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/2.019, allocations: 6.469 kB / 0.7384 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/2.02, allocations: 215.4 kB / 0.7386 GB, free: 2.523 MB / 0.5762 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.007145/2.027, allocations: 6.098 MB / 0.7445 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/2.027, allocations: 56.77 kB / 0.7446 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/2.027, allocations: 28.2 kB / 0.7446 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1346/2.162, allocations: 71.58 MB / 0.8145 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/2.162, allocations: 30.56 kB / 0.8145 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.883e-06/2.162, allocations: 4 kB / 0.8145 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0006249/2.162, allocations: 228.3 kB / 0.8147 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/2.162, allocations: 55.41 kB / 0.8148 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/2.163, allocations: 274.5 kB / 0.8151 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/2.163, allocations: 29.27 kB / 0.8151 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/2.163, allocations: 226 kB / 0.8153 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/2.163, allocations: 23.56 kB / 0.8153 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/2.163, allocations: 29.08 kB / 0.8154 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001085/2.163, allocations: 337.6 kB / 0.8157 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/2.163, allocations: 35.23 kB / 0.8157 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/2.163, allocations: 138.8 kB / 0.8158 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/2.163, allocations: 189.2 kB / 0.816 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.163, allocations: 0 / 0.816 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003928/2.164, allocations: 238.3 kB / 0.8163 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/2.164, allocations: 8 kB / 0.8163 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/2.164, allocations: 4 kB / 0.8163 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007915/2.165, allocations: 152.4 kB / 0.8164 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/2.165, allocations: 38.89 kB / 0.8164 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000376/2.165, allocations: 0.5677 MB / 0.817 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/2.165, allocations: 27.31 kB / 0.817 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/2.165, allocations: 12 kB / 0.817 GB, free: 8.738 MB / 0.6544 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 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001284/2.165, allocations: 146.7 kB / 0.8172 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/2.165, allocations: 27.91 kB / 0.8172 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/2.166, allocations: 133.5 kB / 0.8173 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/2.166, allocations: 4 kB / 0.8173 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/2.166, allocations: 0 / 0.8173 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/2.166, allocations: 0 / 0.8173 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/2.166, allocations: 293.6 kB / 0.8176 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/2.166, allocations: 3.938 kB / 0.8176 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/2.166, allocations: 0 / 0.8176 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/2.166, allocations: 91.06 kB / 0.8177 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/2.166, allocations: 3.844 kB / 0.8177 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003399/2.167, allocations: 0.5584 MB / 0.8183 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.167, allocations: 0 / 0.8183 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/2.167, allocations: 139.4 kB / 0.8184 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/2.167, allocations: 100.3 kB / 0.8185 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/2.167, allocations: 128 / 0.8185 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/2.167, allocations: 9.406 kB / 0.8185 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/2.167, allocations: 4 kB / 0.8185 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/2.167, allocations: 7.812 kB / 0.8185 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001679/2.167, allocations: 199.1 kB / 0.8187 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/2.167, allocations: 4 kB / 0.8187 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003356/2.171, allocations: 1.436 MB / 0.8201 GB, free: 5.742 MB / 0.6544 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 (2): * Single equations (assignments): 1 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004845/2.176, allocations: 2.241 MB / 0.8223 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002762/2.176, allocations: 102.7 kB / 0.8224 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/2.176, allocations: 0 / 0.8224 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/2.176, allocations: 38.98 kB / 0.8224 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/2.176, allocations: 67.34 kB / 0.8225 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/2.177, allocations: 0.5583 MB / 0.823 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/2.177, allocations: 0.7596 MB / 0.8238 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/2.177, allocations: 27.44 kB / 0.8238 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/2.177, allocations: 1.969 kB / 0.8238 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of Templates: time 0.03559/2.213, allocations: 27.95 MB / 0.8511 GB, free: 6.469 MB / 0.6856 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.o] Error 1