Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.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.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.685/0.685, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.061e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 31.98 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.PressureLoss.TestLumpedStraightPipe): time 1.311/1.429, allocations: 295.6 MB / 0.5205 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3849/1.814, allocations: 188.7 MB / 0.7048 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/1.814, allocations: 13.97 kB / 0.7048 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/1.814, allocations: 77.72 kB / 0.7049 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007019/1.815, allocations: 264.2 kB / 0.7051 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02099/1.836, allocations: 9.833 MB / 0.7147 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001228/1.837, allocations: 1.432 MB / 0.7161 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/1.838, allocations: 0.5064 MB / 0.7166 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005946/1.838, allocations: 0.5014 MB / 0.7171 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/1.839, allocations: 0.577 MB / 0.7177 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/1.839, allocations: 67 kB / 0.7178 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02416/1.863, allocations: 19.43 MB / 0.7367 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/1.864, allocations: 244.6 kB / 0.737 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/1.864, allocations: 0.5574 MB / 0.7375 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007769/1.872, allocations: 7.603 MB / 0.7449 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/1.872, allocations: 2.75 kB / 0.7449 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/1.872, allocations: 64 / 0.7449 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 2.649e-05/1.872, allocations: 0 / 0.7449 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.007156/1.879, allocations: 2.84 MB / 0.7477 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/1.879, allocations: 12.98 kB / 0.7477 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/1.879, allocations: 125.8 kB / 0.7478 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/1.88, allocations: 0.5561 MB / 0.7484 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/1.88, allocations: 146.8 kB / 0.7485 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/1.88, allocations: 127.1 kB / 0.7486 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/1.883, allocations: 1.612 MB / 0.7502 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.883, allocations: 9.375 kB / 0.7502 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/1.883, allocations: 47.97 kB / 0.7503 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/1.883, allocations: 27.88 kB / 0.7503 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/1.886, allocations: 1.556 MB / 0.7518 GB, free: 12.64 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.005331/1.891, allocations: 7.827 MB / 0.7595 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/1.895, allocations: 1.141 MB / 0.7606 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.896, allocations: 441.7 kB / 0.761 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7364/2.632, allocations: 286.5 MB / 1.041 GB, free: 205.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/2.632, allocations: 43.34 kB / 1.041 GB, free: 205.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 2.044e-06/2.632, allocations: 0 / 1.041 GB, free: 205.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003972/2.636, allocations: 1.562 MB / 1.042 GB, free: 204.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/2.636, allocations: 115 kB / 1.042 GB, free: 204.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/2.637, allocations: 0.7925 MB / 1.043 GB, free: 203.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/2.637, allocations: 39.05 kB / 1.043 GB, free: 203.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/2.637, allocations: 0.6097 MB / 1.044 GB, free: 203.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/2.637, allocations: 206.7 kB / 1.044 GB, free: 203.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/2.637, allocations: 127.3 kB / 1.044 GB, free: 203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/2.638, allocations: 391.7 kB / 1.045 GB, free: 202.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/2.639, allocations: 493 kB / 1.045 GB, free: 202.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/2.64, allocations: 1.231 MB / 1.046 GB, free: 200.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/2.643, allocations: 1.792 MB / 1.048 GB, free: 199.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/2.643, allocations: 8 kB / 1.048 GB, free: 199.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003528/2.646, allocations: 1.887 MB / 1.05 GB, free: 197.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/2.646, allocations: 16 kB / 1.05 GB, free: 197.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/2.646, allocations: 29.42 kB / 1.05 GB, free: 197.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/2.649, allocations: 0.5041 MB / 1.05 GB, free: 197.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/2.65, allocations: 489.5 kB / 1.051 GB, free: 196.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008902/2.651, allocations: 1.827 MB / 1.053 GB, free: 194.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/2.652, allocations: 275.8 kB / 1.053 GB, free: 194.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/2.652, allocations: 83.7 kB / 1.053 GB, free: 194.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 26 (tank1.Cs2.ftype,tank2.Cs2.ftype,tank2.Cs1.ftype,tank2.Ce1.ftype,tank2.fluids[1],tank1.Cs1.ftype,tank1.Ce2.ftype,tank1.Ce1.ftype,tank1.fluids[1],lumpedStraightPipe.fluid,tank2.fluid1,tank1.fluid1,tank2.Ce2.diff_on_2,tank1.Cs2.diff_on_1,tank2.Cs2.diff_on_1,tank2.Cs1.diff_on_1,tank2.Ce1.diff_on_2,tank2.Cs2.diff_on_2,tank2.Cs1.diff_on_2,tank2.Ce1.diff_on_1,tank1.Cs1.diff_on_1,tank1.Ce2.diff_on_2,tank1.Ce1.diff_on_2,tank1.Cs1.diff_on_2,tank1.Ce2.diff_on_1,tank1.Ce1.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,9), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/2.652, allocations: 312.3 kB / 1.053 GB, free: 194.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/2.653, allocations: 90.88 kB / 1.053 GB, free: 194.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/2.655, allocations: 1.164 MB / 1.054 GB, free: 193.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/2.655, allocations: 8 kB / 1.054 GB, free: 193.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/2.655, allocations: 3.938 kB / 1.054 GB, free: 193.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/2.655, allocations: 7.984 kB / 1.054 GB, free: 193.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/2.659, allocations: 1.938 MB / 1.056 GB, free: 191.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/2.659, allocations: 0 / 1.056 GB, free: 191.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/2.66, allocations: 344.5 kB / 1.057 GB, free: 191.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/2.66, allocations: 61.94 kB / 1.057 GB, free: 191.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/2.66, allocations: 20.08 kB / 1.057 GB, free: 191.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002817/2.661, allocations: 1.073 MB / 1.058 GB, free: 190.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/2.661, allocations: 0 / 1.058 GB, free: 190.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/2.664, allocations: 1.615 MB / 1.059 GB, free: 188.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/2.665, allocations: 237 kB / 1.06 GB, free: 188.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/2.665, allocations: 11.75 kB / 1.06 GB, free: 188.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/2.666, allocations: 124.3 kB / 1.06 GB, free: 188.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/2.666, allocations: 58.53 kB / 1.06 GB, free: 188.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/2.666, allocations: 27.73 kB / 1.06 GB, free: 188.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003788/2.666, allocations: 496 kB / 1.06 GB, free: 188.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/2.666, allocations: 0 / 1.06 GB, free: 188.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003257/2.669, allocations: 1.797 MB / 1.062 GB, free: 186.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tank1.z,tank1.h,tank2.z,tank2.h,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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005733/2.675, allocations: 2.605 MB / 1.065 GB, free: 184.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002871/2.678, allocations: 1.28 MB / 1.066 GB, free: 183.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.678, allocations: 6.234 kB / 1.066 GB, free: 183.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/2.679, allocations: 0.5018 MB / 1.066 GB, free: 183.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/2.68, allocations: 138.6 kB / 1.067 GB, free: 183.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/2.682, allocations: 2.364 MB / 1.069 GB, free: 180.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/2.683, allocations: 1.002 MB / 1.07 GB, free: 179.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/2.683, allocations: 100.5 kB / 1.07 GB, free: 179.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/2.683, allocations: 2.25 kB / 1.07 GB, free: 179.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.037/2.72, allocations: 45.72 MB / 1.115 GB, free: 134.4 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.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.PressureLoss.TestLumpedStraightPipeCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipeCalcHelperMain.o] Error 1