Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6991/0.6991, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.268e-05/1.268e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 31.99 MB / 237.4 MB, free: 5.188 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.TestSteamDryer2): time 1.312/1.43, allocations: 295.5 MB / 0.5204 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3915/1.821, allocations: 190.4 MB / 0.7064 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/1.822, allocations: 12.97 kB / 0.7064 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/1.822, allocations: 155.9 kB / 0.7065 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006765/1.823, allocations: 263.5 kB / 0.7068 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0206/1.844, allocations: 9.658 MB / 0.7162 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008501/1.844, allocations: 0.9907 MB / 0.7172 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/1.845, allocations: 482.9 kB / 0.7176 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/1.845, allocations: 355.8 kB / 0.718 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/1.846, allocations: 390.4 kB / 0.7183 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/1.846, allocations: 41.31 kB / 0.7184 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02257/1.868, allocations: 18.11 MB / 0.7361 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/1.868, allocations: 158.9 kB / 0.7362 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004497/1.869, allocations: 461.6 kB / 0.7367 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006411/1.875, allocations: 6.769 MB / 0.7433 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/1.875, allocations: 0 / 0.7433 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/1.875, allocations: 3.75 kB / 0.7433 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.217e-05/1.875, allocations: 0 / 0.7433 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003927/1.879, allocations: 2.022 MB / 0.7452 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/1.879, allocations: 9.406 kB / 0.7453 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/1.879, allocations: 113.6 kB / 0.7454 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/1.88, allocations: 489.2 kB / 0.7458 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/1.88, allocations: 75.94 kB / 0.7459 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/1.88, allocations: 91.09 kB / 0.746 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/1.881, allocations: 1.041 MB / 0.747 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/1.881, allocations: 6.891 kB / 0.747 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/1.881, allocations: 44.41 kB / 0.7471 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/1.881, allocations: 27.38 kB / 0.7471 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009322/1.882, allocations: 0.6989 MB / 0.7478 GB, free: 14.68 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.06644/1.949, allocations: 37.69 MB / 0.7846 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/1.95, allocations: 0.8448 MB / 0.7854 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/1.95, allocations: 210.5 kB / 0.7856 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6679/2.618, allocations: 338.9 MB / 1.117 GB, free: 324.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/2.618, allocations: 34.31 kB / 1.117 GB, free: 324.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 2.284e-06/2.618, allocations: 0 / 1.117 GB, free: 324.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.002488/2.621, allocations: 1.292 MB / 1.118 GB, free: 323.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/2.621, allocations: 84.05 kB / 1.118 GB, free: 323.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/2.621, allocations: 493.9 kB / 1.118 GB, free: 323.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/2.621, allocations: 40.38 kB / 1.118 GB, free: 323.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/2.621, allocations: 461.9 kB / 1.119 GB, free: 322.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/2.621, allocations: 184.2 kB / 1.119 GB, free: 322.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/2.621, allocations: 76.55 kB / 1.119 GB, free: 322.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.581e-05/2.621, allocations: 361.3 kB / 1.119 GB, free: 322.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/2.622, allocations: 187.6 kB / 1.12 GB, free: 322.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/2.622, allocations: 477.2 kB / 1.12 GB, free: 321.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/2.623, allocations: 0.6964 MB / 1.121 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/2.623, allocations: 0 / 1.121 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001352/2.624, allocations: 0.9792 MB / 1.122 GB, free: 320.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/2.624, allocations: 8.781 kB / 1.122 GB, free: 320.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/2.624, allocations: 12 kB / 1.122 GB, free: 320.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009336/2.625, allocations: 0.5929 MB / 1.122 GB, free: 319.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/2.625, allocations: 95.7 kB / 1.122 GB, free: 319.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009037/2.626, allocations: 1.994 MB / 1.124 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/2.626, allocations: 103.1 kB / 1.124 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/2.627, allocations: 39.86 kB / 1.125 GB, free: 317.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 19 (steamDryer.Csl.ftype,steamDryer.Csv.ftype,sourceQ.C.ftype,steamDryer.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamDryer.Csl.diff_on_2,steamDryer.Csl.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamDryer.Csv.diff_on_2,steamDryer.Csv.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamDryer.Cev.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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 {(1,3), (1,3), (2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002154/2.627, allocations: 229.5 kB / 1.125 GB, free: 317.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/2.627, allocations: 59.33 kB / 1.125 GB, free: 317.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/2.628, allocations: 0.8409 MB / 1.126 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008751/2.629, allocations: 0.6574 MB / 1.126 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/2.629, allocations: 0 / 1.126 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.629, allocations: 8.484 kB / 1.126 GB, free: 316.4 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.001814/2.631, allocations: 1.804 MB / 1.128 GB, free: 315 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/2.631, allocations: 0 / 1.128 GB, free: 315 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/2.631, allocations: 46.58 kB / 1.128 GB, free: 314.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/2.632, allocations: 0.5982 MB / 1.129 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/2.632, allocations: 11.69 kB / 1.129 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008295/2.632, allocations: 1.992 MB / 1.131 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/2.632, allocations: 0 / 1.131 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/2.633, allocations: 0.8086 MB / 1.131 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/2.634, allocations: 168 kB / 1.132 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/2.634, allocations: 15.81 kB / 1.132 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/2.634, allocations: 55.2 kB / 1.132 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/2.634, allocations: 23.91 kB / 1.132 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/2.634, allocations: 11.94 kB / 1.132 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002459/2.634, allocations: 321.9 kB / 1.132 GB, free: 311.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/2.634, allocations: 0 / 1.132 GB, free: 311.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002279/2.636, allocations: 1.464 MB / 1.133 GB, free: 310.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (24): * Single equations (assignments): 21 * 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 {(1,3), (1,3), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004368/2.641, allocations: 2.097 MB / 1.135 GB, free: 308.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008128/2.642, allocations: 0.6415 MB / 1.136 GB, free: 308 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/2.642, allocations: 2.188 kB / 1.136 GB, free: 308 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/2.642, allocations: 313.1 kB / 1.136 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/2.643, allocations: 196.4 kB / 1.137 GB, free: 307.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/2.644, allocations: 1.702 MB / 1.138 GB, free: 306 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/2.645, allocations: 0.9549 MB / 1.139 GB, free: 305 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/2.645, allocations: 53.67 kB / 1.139 GB, free: 305 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/2.645, allocations: 4 kB / 1.139 GB, free: 305 MB / 0.8106 GB Notification: Performance of Templates: time 0.03234/2.677, allocations: 40.2 MB / 1.178 GB, free: 265.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2CalcHelperMain.o] Error 1