Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.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.TestTankHorizontal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6981/0.6981, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.23e-05/1.234e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 31.98 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.TestTankHorizontal): time 1.335/1.454, allocations: 296.4 MB / 0.5213 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4017/1.856, allocations: 195.2 MB / 0.712 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/1.856, allocations: 15.75 kB / 0.712 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002385/1.857, allocations: 101.9 kB / 0.7121 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006824/1.857, allocations: 348.1 kB / 0.7124 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02439/1.882, allocations: 11.23 MB / 0.7234 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00116/1.883, allocations: 1.616 MB / 0.7249 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/1.883, allocations: 0.6778 MB / 0.7256 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/1.884, allocations: 0.5388 MB / 0.7261 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/1.884, allocations: 0.6214 MB / 0.7267 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-05/1.884, allocations: 75.39 kB / 0.7268 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0289/1.913, allocations: 23.32 MB / 0.7496 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/1.913, allocations: 258.7 kB / 0.7498 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006115/1.914, allocations: 0.6301 MB / 0.7504 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/1.925, allocations: 8.77 MB / 0.759 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/1.925, allocations: 2.906 kB / 0.759 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/1.925, allocations: 0 / 0.759 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.996e-05/1.925, allocations: 0 / 0.759 GB, free: 13.45 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.005631/1.93, allocations: 2.852 MB / 0.7618 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/1.93, allocations: 12.66 kB / 0.7618 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/1.93, allocations: 160.2 kB / 0.762 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/1.931, allocations: 0.6325 MB / 0.7626 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.931, allocations: 127.9 kB / 0.7627 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/1.932, allocations: 130 kB / 0.7628 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.933, allocations: 1.399 MB / 0.7642 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/1.933, allocations: 5.812 kB / 0.7642 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/1.934, allocations: 55.16 kB / 0.7643 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/1.934, allocations: 30.47 kB / 0.7643 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/1.936, allocations: 1.358 MB / 0.7656 GB, free: 10.44 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.02187/1.958, allocations: 19.15 MB / 0.7843 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/1.959, allocations: 0.8048 MB / 0.7851 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/1.96, allocations: 376.5 kB / 0.7855 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.752/2.712, allocations: 353.6 MB / 1.131 GB, free: 320.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/2.712, allocations: 39 kB / 1.131 GB, free: 320.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=66): time 2.204e-06/2.712, allocations: 0 / 1.131 GB, free: 320.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.007736/2.72, allocations: 3.443 MB / 1.134 GB, free: 318 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/2.72, allocations: 59.97 kB / 1.134 GB, free: 317.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/2.721, allocations: 0.7789 MB / 1.135 GB, free: 317.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/2.721, allocations: 38.83 kB / 1.135 GB, free: 317.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/2.721, allocations: 0.5711 MB / 1.136 GB, free: 316.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/2.721, allocations: 240.5 kB / 1.136 GB, free: 316.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/2.721, allocations: 113.7 kB / 1.136 GB, free: 316.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/2.721, allocations: 390.1 kB / 1.136 GB, free: 316.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/2.722, allocations: 375.1 kB / 1.137 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/2.723, allocations: 0.7274 MB / 1.137 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/2.724, allocations: 1.135 MB / 1.138 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.724, allocations: 0 / 1.138 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002995/2.727, allocations: 1.643 MB / 1.14 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/2.727, allocations: 11.94 kB / 1.14 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.727, allocations: 12.8 kB / 1.14 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/2.732, allocations: 1.17 MB / 1.141 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/2.733, allocations: 191.5 kB / 1.141 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/2.735, allocations: 3.276 MB / 1.145 GB, free: 308.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/2.736, allocations: 75.42 kB / 1.145 GB, free: 308.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/2.736, allocations: 59.11 kB / 1.145 GB, free: 308.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 19 (Tank1.Cs1.ftype,Tank1.Cs2.ftype,Tank1.Ce2.ftype,Tank1.Ce2.diff_on_1,SourceP1.C.ftype,Tank1.fluids[1],VanneReglante1.C2.diff_on_1,PerteDP1.fluid,VanneReglante1.fluid,PuitsP1.fluid,PerteDP2.fluid,PuitsP2.fluid,Tank1.fluid1,SourceP1.fluid1,Tank1.Cs1.diff_on_1,Tank1.Cs2.diff_on_1,Tank1.Ce2.diff_on_2,Tank1.Ce1.diff_on_2,SourceP1.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(3,1), (2,5), (2,6), (2,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002982/2.736, allocations: 271.5 kB / 1.145 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/2.736, allocations: 96.94 kB / 1.145 GB, free: 308 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/2.739, allocations: 1.418 MB / 1.147 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/2.739, allocations: 8 kB / 1.147 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.739, allocations: 4 kB / 1.147 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/2.739, allocations: 10 kB / 1.147 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/2.74, allocations: 0.8993 MB / 1.147 GB, free: 306.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.74, allocations: 0 / 1.147 GB, free: 306.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/2.74, allocations: 91.83 kB / 1.147 GB, free: 306.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003806/2.744, allocations: 0.944 MB / 1.148 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/2.744, allocations: 25.94 kB / 1.148 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/2.747, allocations: 3.28 MB / 1.152 GB, free: 302 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.747, allocations: 8.062 kB / 1.152 GB, free: 302 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/2.75, allocations: 1.777 MB / 1.153 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/2.75, allocations: 240.1 kB / 1.154 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/2.75, allocations: 18.36 kB / 1.154 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/2.751, allocations: 55.27 kB / 1.154 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/2.751, allocations: 69.56 kB / 1.154 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/2.751, allocations: 25.55 kB / 1.154 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004277/2.751, allocations: 0.4939 MB / 1.154 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/2.751, allocations: 0 / 1.154 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005111/2.757, allocations: 2.941 MB / 1.157 GB, free: 297.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Tank1.z,Tank1.h) * 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 (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(3,1), (2,8), (2,7), (2,8), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009829/2.766, allocations: 3.984 MB / 1.161 GB, free: 294 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002223/2.769, allocations: 1.084 MB / 1.162 GB, free: 292.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/2.769, allocations: 4.125 kB / 1.162 GB, free: 292.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/2.77, allocations: 0.5715 MB / 1.163 GB, free: 292.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/2.771, allocations: 177.7 kB / 1.163 GB, free: 292.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/2.773, allocations: 2.499 MB / 1.165 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/2.773, allocations: 1.053 MB / 1.166 GB, free: 288.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/2.773, allocations: 91.36 kB / 1.166 GB, free: 288.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/2.773, allocations: 0 / 1.166 GB, free: 288.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.06099/2.834, allocations: 76.32 MB / 1.241 GB, free: 212.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.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.TestTankHorizontalCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontalCalcHelperMain.o] Error 1