Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.6823/0.6823, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.195e-05/1.204e-05, allocations: 4 kB / 205.4 MB, free: 10.23 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 31.99 MB / 237.4 MB, free: 5.273 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.Examples.Book.SimpleExamples.Volume.TestTank): time 1.31/1.429, allocations: 295.7 MB / 0.5206 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1627/1.591, allocations: 186.2 MB / 0.7024 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/1.592, allocations: 8 kB / 0.7024 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004141/1.592, allocations: 143.1 kB / 0.7025 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005938/1.593, allocations: 269.9 kB / 0.7028 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2469/1.84, allocations: 9.076 MB / 0.7116 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001045/1.841, allocations: 1.123 MB / 0.7127 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/1.841, allocations: 382.8 kB / 0.7131 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/1.842, allocations: 395.8 kB / 0.7135 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/1.842, allocations: 406.6 kB / 0.7139 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/1.842, allocations: 34.09 kB / 0.7139 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02424/1.866, allocations: 20.18 MB / 0.7336 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/1.866, allocations: 141.1 kB / 0.7338 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/1.867, allocations: 441.8 kB / 0.7342 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007193/1.874, allocations: 7.049 MB / 0.7411 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.874, allocations: 1 kB / 0.7411 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/1.874, allocations: 1.75 kB / 0.7411 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.405e-06/1.874, allocations: 0 / 0.7411 GB, free: 1.059 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004687/1.879, allocations: 2.335 MB / 0.7433 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/1.879, allocations: 8.906 kB / 0.7433 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/1.879, allocations: 97.22 kB / 0.7434 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/1.879, allocations: 443.2 kB / 0.7439 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.521e-05/1.879, allocations: 78.64 kB / 0.7439 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/1.88, allocations: 73.88 kB / 0.744 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/1.881, allocations: 1.004 MB / 0.745 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.881, allocations: 2.906 kB / 0.745 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/1.881, allocations: 32.91 kB / 0.745 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/1.881, allocations: 37.05 kB / 0.7451 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/1.883, allocations: 0.8829 MB / 0.7459 GB, free: 14.66 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.04834/1.931, allocations: 29.97 MB / 0.7752 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/1.933, allocations: 0.8474 MB / 0.776 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/1.934, allocations: 464.2 kB / 0.7765 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.266/2.2, allocations: 151.8 MB / 0.9247 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/2.2, allocations: 34.56 kB / 0.9247 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 2.214e-06/2.2, allocations: 0 / 0.9247 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006964/2.207, allocations: 2.499 MB / 0.9271 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/2.207, allocations: 63.41 kB / 0.9272 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/2.208, allocations: 0.4973 MB / 0.9277 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/2.208, allocations: 37.08 kB / 0.9277 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/2.208, allocations: 324.5 kB / 0.928 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/2.208, allocations: 366.2 kB / 0.9284 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-05/2.208, allocations: 89.2 kB / 0.9285 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001279/2.209, allocations: 387.6 kB / 0.9288 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008752/2.209, allocations: 391 kB / 0.9292 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009538/2.21, allocations: 0.5555 MB / 0.9297 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/2.212, allocations: 0.9908 MB / 0.9307 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/2.212, allocations: 6.906 kB / 0.9307 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002674/2.215, allocations: 1.327 MB / 0.932 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/2.215, allocations: 13.48 kB / 0.932 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/2.215, allocations: 8 kB / 0.932 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/2.219, allocations: 1.131 MB / 0.9331 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/2.22, allocations: 184.1 kB / 0.9333 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/2.222, allocations: 2.705 MB / 0.936 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/2.223, allocations: 153.9 kB / 0.9361 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/2.223, allocations: 31.8 kB / 0.9361 GB, free: 7.996 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (PuitsP2.C.a,PerteDP2.C2.b,PerteDP2.C1.a,Tank1.Cs1.b,Tank1.Ce2.a,Tank1.Cs2.b,Tank1.Ce1.a,PuitsP1.C.a,SourceP1.C.b,VanneReglante1.C2.b,VanneReglante1.C1.a,PerteDP1.C2.b,PerteDP1.C1.a,Tank1.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,7), (2,6), (2,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000226/2.223, allocations: 207.3 kB / 0.9363 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/2.223, allocations: 70.97 kB / 0.9364 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/2.227, allocations: 2.993 MB / 0.9393 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00281/2.23, allocations: 1.339 MB / 0.9406 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.23, allocations: 0 / 0.9406 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/2.23, allocations: 3.984 kB / 0.9406 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/2.234, allocations: 2.865 MB / 0.9434 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/2.234, allocations: 0 / 0.9434 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008475/2.235, allocations: 226.1 kB / 0.9436 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/2.238, allocations: 0.9488 MB / 0.9446 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/2.238, allocations: 15.69 kB / 0.9446 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/2.24, allocations: 2.807 MB / 0.9473 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.24, allocations: 5.891 kB / 0.9473 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/2.244, allocations: 2.038 MB / 0.9493 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/2.244, allocations: 271.5 kB / 0.9496 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/2.244, allocations: 16 kB / 0.9496 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/2.245, allocations: 83.84 kB / 0.9497 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/2.245, allocations: 70.75 kB / 0.9497 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/2.245, allocations: 27.98 kB / 0.9498 GB, free: 12.58 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004309/2.246, allocations: 463.1 kB / 0.9502 GB, free: 12.13 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/2.246, allocations: 0 / 0.9502 GB, free: 12.13 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00312/2.249, allocations: 1.631 MB / 0.9518 GB, free: 10.5 MB / 0.795 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 (64): * Single equations (assignments): 60 * 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.004758/2.254, allocations: 2.335 MB / 0.9541 GB, free: 8.441 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002843/2.256, allocations: 1.313 MB / 0.9554 GB, free: 7.121 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/2.256, allocations: 0 / 0.9554 GB, free: 7.121 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/2.258, allocations: 0.6808 MB / 0.956 GB, free: 6.449 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/2.26, allocations: 343.6 kB / 0.9564 GB, free: 6.117 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/2.262, allocations: 2.271 MB / 0.9586 GB, free: 3.824 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/2.263, allocations: 1.033 MB / 0.9596 GB, free: 2.766 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/2.263, allocations: 63.42 kB / 0.9596 GB, free: 2.703 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/2.263, allocations: 1.969 kB / 0.9596 GB, free: 2.703 MB / 0.795 GB Notification: Performance of Templates: time 0.1788/2.442, allocations: 50.14 MB / 1.009 GB, free: 445 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.Volume.TestTankCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTankCalcHelperMain.o] Error 1