Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank") translateModel(ThermoSysPro.Examples.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6908/0.6908, allocations: 150.8 MB / 166.7 MB, free: 15.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.209e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, 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.Examples.SimpleExamples.TestTank): time 1.326/1.44, allocations: 295.8 MB / 0.5207 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1613/1.602, allocations: 186.2 MB / 0.7025 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/1.602, allocations: 8 kB / 0.7025 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004164/1.603, allocations: 147.1 kB / 0.7026 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000573/1.603, allocations: 273.9 kB / 0.7029 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2484/1.851, allocations: 9.068 MB / 0.7117 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001087/1.853, allocations: 1.131 MB / 0.7128 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/1.853, allocations: 382.3 kB / 0.7132 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/1.854, allocations: 401 kB / 0.7136 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/1.854, allocations: 408.8 kB / 0.714 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/1.854, allocations: 35.58 kB / 0.714 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02522/1.879, allocations: 20.17 MB / 0.7337 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/1.879, allocations: 138.5 kB / 0.7338 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/1.88, allocations: 439.9 kB / 0.7343 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007014/1.887, allocations: 7.05 MB / 0.7412 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.887, allocations: 5.422 kB / 0.7412 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/1.887, allocations: 3.438 kB / 0.7412 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.959e-05/1.887, allocations: 1.188 kB / 0.7412 GB, free: 0.8906 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.005556/1.892, allocations: 2.325 MB / 0.7434 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/1.892, allocations: 8.875 kB / 0.7434 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/1.893, allocations: 97 kB / 0.7435 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/1.893, allocations: 449 kB / 0.744 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/1.893, allocations: 75.2 kB / 0.744 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/1.893, allocations: 72.22 kB / 0.7441 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/1.895, allocations: 1.012 MB / 0.7451 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.895, allocations: 5.062 kB / 0.7451 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/1.895, allocations: 28.03 kB / 0.7451 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/1.895, allocations: 31.94 kB / 0.7452 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/1.897, allocations: 0.8885 MB / 0.746 GB, free: 14.48 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.04885/1.945, allocations: 29.94 MB / 0.7753 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/1.948, allocations: 0.8533 MB / 0.7761 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008892/1.949, allocations: 465.2 kB / 0.7765 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.267/2.216, allocations: 151.8 MB / 0.9247 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/2.216, allocations: 38.69 kB / 0.9248 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=110): time 2.424e-06/2.216, allocations: 0 / 0.9248 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006972/2.223, allocations: 2.493 MB / 0.9272 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/2.223, allocations: 67.28 kB / 0.9273 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004757/2.223, allocations: 0.5071 MB / 0.9278 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/2.223, allocations: 33.08 kB / 0.9278 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/2.223, allocations: 327.7 kB / 0.9281 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/2.224, allocations: 361.2 kB / 0.9284 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/2.224, allocations: 91.09 kB / 0.9285 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000119/2.224, allocations: 384.1 kB / 0.9289 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/2.225, allocations: 391.7 kB / 0.9293 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009597/2.226, allocations: 0.5586 MB / 0.9298 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/2.227, allocations: 0.9834 MB / 0.9308 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.227, allocations: 0 / 0.9308 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002709/2.23, allocations: 1.338 MB / 0.9321 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/2.23, allocations: 9.25 kB / 0.9321 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/2.23, allocations: 4 kB / 0.9321 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/2.234, allocations: 1.142 MB / 0.9332 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/2.235, allocations: 181.2 kB / 0.9334 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/2.237, allocations: 2.702 MB / 0.936 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/2.238, allocations: 148.7 kB / 0.9362 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/2.238, allocations: 31.84 kB / 0.9362 GB, free: 7.777 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.0002281/2.238, allocations: 211.2 kB / 0.9364 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/2.238, allocations: 71.06 kB / 0.9365 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/2.242, allocations: 2.979 MB / 0.9394 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002787/2.245, allocations: 1.341 MB / 0.9407 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/2.245, allocations: 0 / 0.9407 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/2.245, allocations: 3.984 kB / 0.9407 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/2.25, allocations: 2.881 MB / 0.9435 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/2.25, allocations: 4 kB / 0.9435 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/2.25, allocations: 216.8 kB / 0.9437 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/2.253, allocations: 0.9455 MB / 0.9446 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/2.253, allocations: 21.8 kB / 0.9447 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/2.255, allocations: 2.796 MB / 0.9474 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/2.255, allocations: 2.906 kB / 0.9474 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/2.259, allocations: 2.043 MB / 0.9494 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/2.26, allocations: 271.5 kB / 0.9496 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/2.26, allocations: 16 kB / 0.9497 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/2.26, allocations: 91.83 kB / 0.9498 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/2.26, allocations: 64.91 kB / 0.9498 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/2.26, allocations: 27.98 kB / 0.9498 GB, free: 12.45 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004308/2.261, allocations: 463 kB / 0.9503 GB, free: 11.99 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/2.261, allocations: 3.844 kB / 0.9503 GB, free: 11.99 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00303/2.264, allocations: 1.628 MB / 0.9519 GB, free: 10.36 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.005179/2.269, allocations: 2.335 MB / 0.9542 GB, free: 8.305 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002814/2.272, allocations: 1.314 MB / 0.9554 GB, free: 6.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.272, allocations: 256 / 0.9554 GB, free: 6.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/2.274, allocations: 0.6845 MB / 0.9561 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/2.275, allocations: 345.6 kB / 0.9564 GB, free: 5.973 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/2.277, allocations: 2.276 MB / 0.9587 GB, free: 3.676 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/2.278, allocations: 1.024 MB / 0.9597 GB, free: 2.629 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/2.278, allocations: 63.42 kB / 0.9597 GB, free: 2.566 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/2.278, allocations: 0 / 0.9597 GB, free: 2.566 MB / 0.795 GB Notification: Performance of Templates: time 0.1864/2.464, allocations: 50.14 MB / 1.009 GB, free: 444.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestTankCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTankCalcHelperMain.o] Error 1