Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank.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.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6902/0.6902, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.417e-06/9.437e-06, allocations: 0 / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 31.98 MB / 237.4 MB, free: 5.457 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.Volume.TestTank): time 1.317/1.438, allocations: 296.4 MB / 0.5213 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4/1.838, allocations: 195.2 MB / 0.7119 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/1.839, allocations: 19.06 kB / 0.7119 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002658/1.839, allocations: 107.5 kB / 0.712 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007379/1.84, allocations: 357 kB / 0.7124 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02354/1.863, allocations: 11.21 MB / 0.7233 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001158/1.864, allocations: 1.523 MB / 0.7248 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/1.865, allocations: 0.6457 MB / 0.7254 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/1.866, allocations: 0.518 MB / 0.7259 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/1.866, allocations: 0.6026 MB / 0.7265 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/1.866, allocations: 70.19 kB / 0.7266 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02827/1.895, allocations: 22.76 MB / 0.7488 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/1.895, allocations: 252.9 kB / 0.7491 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005447/1.895, allocations: 0.6303 MB / 0.7497 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/1.905, allocations: 8.615 MB / 0.7581 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/1.905, allocations: 1.969 kB / 0.7581 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/1.905, allocations: 0 / 0.7581 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.257e-05/1.905, allocations: 3.125 kB / 0.7581 GB, free: 13.87 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006842/1.912, allocations: 2.933 MB / 0.761 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/1.912, allocations: 8.031 kB / 0.761 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/1.913, allocations: 155.6 kB / 0.7611 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/1.913, allocations: 0.6284 MB / 0.7617 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.913, allocations: 124.2 kB / 0.7618 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/1.914, allocations: 125.5 kB / 0.762 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/1.916, allocations: 1.489 MB / 0.7634 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/1.916, allocations: 7.875 kB / 0.7634 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/1.916, allocations: 55.97 kB / 0.7635 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/1.916, allocations: 31.97 kB / 0.7635 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/1.919, allocations: 1.376 MB / 0.7648 GB, free: 10.69 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.0219/1.941, allocations: 20.12 MB / 0.7845 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/1.943, allocations: 1.03 MB / 0.7855 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008534/1.944, allocations: 381.6 kB / 0.7859 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6548/2.599, allocations: 286.5 MB / 1.066 GB, free: 392.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/2.599, allocations: 42 kB / 1.066 GB, free: 392.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=58): time 2.484e-06/2.599, allocations: 0 / 1.066 GB, free: 392.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58): time 0.005773/2.604, allocations: 2.068 MB / 1.068 GB, free: 390.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/2.604, allocations: 81.67 kB / 1.068 GB, free: 390.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007202/2.605, allocations: 0.7991 MB / 1.069 GB, free: 390.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/2.605, allocations: 37.02 kB / 1.069 GB, free: 390.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/2.605, allocations: 0.5918 MB / 1.069 GB, free: 389.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/2.606, allocations: 212.2 kB / 1.069 GB, free: 389.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/2.606, allocations: 107.5 kB / 1.069 GB, free: 389.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/2.606, allocations: 388.4 kB / 1.07 GB, free: 389 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008522/2.607, allocations: 384.5 kB / 1.07 GB, free: 388.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/2.608, allocations: 0.7841 MB / 1.071 GB, free: 387.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/2.609, allocations: 1.207 MB / 1.072 GB, free: 386.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/2.609, allocations: 4 kB / 1.072 GB, free: 386.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002749/2.612, allocations: 1.498 MB / 1.074 GB, free: 385.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/2.612, allocations: 8.094 kB / 1.074 GB, free: 385.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/2.612, allocations: 20 kB / 1.074 GB, free: 385.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/2.616, allocations: 0.8867 MB / 1.075 GB, free: 384.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/2.617, allocations: 291.4 kB / 1.075 GB, free: 384.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/2.618, allocations: 2.502 MB / 1.077 GB, free: 382 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/2.619, allocations: 193.6 kB / 1.077 GB, free: 381.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/2.619, allocations: 55.86 kB / 1.077 GB, free: 381.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (Tank1.Cs1.ftype,Tank1.Cs2.ftype,Tank1.Ce2.ftype,SourceP1.C.ftype,Tank1.fluids[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,Tank1.Ce2.diff_on_1,VanneReglante1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,6), (2,7), (2,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002841/2.62, allocations: 288.3 kB / 1.078 GB, free: 381.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/2.62, allocations: 90.88 kB / 1.078 GB, free: 381.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/2.622, allocations: 1.19 MB / 1.079 GB, free: 380.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/2.622, allocations: 11.22 kB / 1.079 GB, free: 380.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.622, allocations: 0 / 1.079 GB, free: 380.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/2.622, allocations: 5.438 kB / 1.079 GB, free: 380.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/2.626, allocations: 2.183 MB / 1.081 GB, free: 378.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.626, allocations: 0 / 1.081 GB, free: 378.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/2.627, allocations: 183.5 kB / 1.081 GB, free: 378.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/2.629, allocations: 0.6614 MB / 1.082 GB, free: 378 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/2.629, allocations: 27.3 kB / 1.082 GB, free: 378 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/2.631, allocations: 2.497 MB / 1.084 GB, free: 375.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/2.631, allocations: 0 / 1.084 GB, free: 375.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/2.634, allocations: 1.602 MB / 1.086 GB, free: 374.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/2.634, allocations: 242.3 kB / 1.086 GB, free: 374 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/2.634, allocations: 11.88 kB / 1.086 GB, free: 374 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/2.635, allocations: 75.56 kB / 1.086 GB, free: 374 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/2.635, allocations: 68.22 kB / 1.086 GB, free: 373.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/2.635, allocations: 19.81 kB / 1.086 GB, free: 373.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004059/2.635, allocations: 0.505 MB / 1.087 GB, free: 373.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/2.635, allocations: 0 / 1.087 GB, free: 373.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003317/2.639, allocations: 2.025 MB / 1.089 GB, free: 371.8 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,8), (2,9), (2,9), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006094/2.645, allocations: 2.917 MB / 1.092 GB, free: 369.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002225/2.647, allocations: 1.025 MB / 1.093 GB, free: 368.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/2.647, allocations: 0 / 1.093 GB, free: 368.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/2.648, allocations: 0.5004 MB / 1.093 GB, free: 368.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/2.649, allocations: 179.8 kB / 1.093 GB, free: 368.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/2.651, allocations: 2.391 MB / 1.096 GB, free: 365.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/2.651, allocations: 1.06 MB / 1.097 GB, free: 364.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/2.652, allocations: 79.36 kB / 1.097 GB, free: 364.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/2.652, allocations: 0 / 1.097 GB, free: 364.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.045/2.697, allocations: 56.82 MB / 1.152 GB, free: 308.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank.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.Volume.TestTankCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTankCalcHelperMain.o] Error 1