Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.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.TestFlueGasesVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6827/0.6827, allocations: 150.8 MB / 166.7 MB, free: 15.49 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.24e-05, allocations: 4 kB / 205.4 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 31.99 MB / 237.4 MB, free: 5.43 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.TestFlueGasesVolumes1): time 1.306/1.422, allocations: 296 MB / 0.5209 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1245/1.547, allocations: 148 MB / 0.6654 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/1.547, allocations: 4 kB / 0.6654 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/1.547, allocations: 95.19 kB / 0.6655 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006006/1.548, allocations: 265.8 kB / 0.6658 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/1.55, allocations: 1.017 MB / 0.6668 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001137/1.551, allocations: 1.324 MB / 0.668 GB, free: 4.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/1.552, allocations: 0.6437 MB / 0.6687 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/1.552, allocations: 410.5 kB / 0.6691 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/1.553, allocations: 0.5053 MB / 0.6696 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/1.553, allocations: 64 kB / 0.6696 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/1.554, allocations: 0.7767 MB / 0.6704 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/1.554, allocations: 195.2 kB / 0.6706 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004055/1.554, allocations: 0.5574 MB / 0.6711 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009754/1.555, allocations: 1.282 MB / 0.6724 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/1.555, allocations: 0 / 0.6724 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/1.555, allocations: 0 / 0.6724 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.254e-05/1.555, allocations: 4 kB / 0.6724 GB, free: 15.65 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.001664/1.557, allocations: 1.203 MB / 0.6735 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/1.557, allocations: 8.031 kB / 0.6736 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/1.557, allocations: 139.4 kB / 0.6737 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/1.558, allocations: 0.5018 MB / 0.6742 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/1.558, allocations: 94.64 kB / 0.6743 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/1.558, allocations: 143.9 kB / 0.6744 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/1.56, allocations: 1.425 MB / 0.6758 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.56, allocations: 7.938 kB / 0.6758 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/1.56, allocations: 52 kB / 0.6758 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/1.56, allocations: 36 kB / 0.6759 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/1.561, allocations: 1.109 MB / 0.677 GB, free: 10.72 MB / 0.5606 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.005307/1.567, allocations: 7.248 MB / 0.684 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/1.567, allocations: 456.8 kB / 0.6845 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/1.568, allocations: 378.4 kB / 0.6848 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/1.568, allocations: 488.8 kB / 0.6853 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/1.568, allocations: 43.06 kB / 0.6853 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 1.523e-06/1.568, allocations: 0 / 0.6853 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92): time 0.03241/1.601, allocations: 9.742 MB / 0.6949 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/1.601, allocations: 123.8 kB / 0.695 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/1.602, allocations: 0.6838 MB / 0.6956 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/1.602, allocations: 41.7 kB / 0.6957 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/1.602, allocations: 0.4951 MB / 0.6962 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/1.602, allocations: 327.2 kB / 0.6965 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.602, allocations: 117.6 kB / 0.6966 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.602, allocations: 390.7 kB / 0.697 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008729/1.603, allocations: 0.5336 MB / 0.6975 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.604, allocations: 0.8813 MB / 0.6984 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/1.606, allocations: 1.493 MB / 0.6998 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.606, allocations: 4 kB / 0.6998 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.1382/1.745, allocations: 2.298 MB / 0.7021 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.745, allocations: 11.56 kB / 0.7021 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.745, allocations: 10.75 kB / 0.7021 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/1.768, allocations: 4.863 MB / 0.7068 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.768, allocations: 84.69 kB / 0.7069 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/1.774, allocations: 2.803 MB / 0.7096 GB, free: 234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/1.774, allocations: 82.14 kB / 0.7097 GB, free: 234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/1.775, allocations: 63.64 kB / 0.7098 GB, free: 234 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 26 (sourceFlueGasesP2.C.b,singularPressureLossFlueGases6.C2.b,singularPressureLossFlueGases6.C1.a,sourceFlueGasesP1.C.b,singularPressureLossFlueGases5.C2.b,singularPressureLossFlueGases5.C1.a,singularPressureLossFlueGases3.C2.b,singularPressureLossFlueGases3.C1.a,volumeFlueGasesCTh.Ce3.a,volumeFlueGasesCTh.Ce2.a,volumeFlueGasesCTh.Cs.b,volumeFlueGasesCTh.Ce1.a,singularPressureLossFlueGases4.C2.b,singularPressureLossFlueGases4.C1.a,sinkFlueGasesP1.C.a,singularPressureLossFlueGases2.C2.b,singularPressureLossFlueGases2.C1.a,volumeFlueGasesATh.Ce2.a,volumeFlueGasesATh.Cs1.b,volumeFlueGasesATh.Cs2.b,volumeFlueGasesATh.Ce1.a,sinkFlueGasesP.C.a,sourceFlueGasesP.C.b,singularPressureLossFlueGases1.C2.b,singularPressureLossFlueGases1.C1.a,volumeFlueGasesCTh.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(32,51)} Notification: Performance of prepare postOptimizeDAE: time 0.0003569/1.775, allocations: 271.5 kB / 0.71 GB, free: 233.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/1.775, allocations: 93.5 kB / 0.7101 GB, free: 233.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/1.779, allocations: 2.133 MB / 0.7122 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.779, allocations: 9.875 kB / 0.7122 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.779, allocations: 2.125 kB / 0.7122 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.779, allocations: 5.625 kB / 0.7122 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/1.784, allocations: 3.964 MB / 0.7161 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.784, allocations: 1.812 kB / 0.7161 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/1.785, allocations: 104 kB / 0.7162 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/1.796, allocations: 2.375 MB / 0.7185 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/1.796, allocations: 37.61 kB / 0.7186 GB, free: 233.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005201/1.801, allocations: 3.863 MB / 0.7223 GB, free: 231 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.801, allocations: 2.812 kB / 0.7223 GB, free: 231 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/1.805, allocations: 2.716 MB / 0.725 GB, free: 230.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/1.805, allocations: 160 kB / 0.7251 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.805, allocations: 22 kB / 0.7252 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006537/1.806, allocations: 73.72 kB / 0.7252 GB, free: 230.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/1.806, allocations: 65.2 kB / 0.7253 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/1.806, allocations: 43.08 kB / 0.7253 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003509/1.807, allocations: 453.3 kB / 0.7258 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.807, allocations: 0 / 0.7258 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009186/1.807, allocations: 438.7 kB / 0.7262 GB, free: 230.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeFlueGasesATh.Xh2o,volumeFlueGasesCTh.Xh2o) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(16,17), (7,13), (3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/1.809, allocations: 0.5086 MB / 0.7267 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005243/1.814, allocations: 2.07 MB / 0.7287 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.814, allocations: 1.875 kB / 0.7287 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00395/1.818, allocations: 1.3 MB / 0.73 GB, free: 230.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/1.819, allocations: 177.3 kB / 0.7301 GB, free: 230.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/1.821, allocations: 2.392 MB / 0.7325 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/1.821, allocations: 1.036 MB / 0.7335 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.821, allocations: 63.39 kB / 0.7336 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/1.821, allocations: 0 / 0.7336 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.01834/1.84, allocations: 26.95 MB / 0.7599 GB, free: 203.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes1CalcHelperMain.o] Error 1