Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.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.TestFlueGasesJunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6866/0.6866, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.336e-05/1.344e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 31.98 MB / 237.4 MB, free: 5.406 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.TestFlueGasesJunctions): time 1.319/1.439, allocations: 295.6 MB / 0.5205 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1255/1.564, allocations: 146.2 MB / 0.6633 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/1.564, allocations: 4 kB / 0.6633 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/1.564, allocations: 91.27 kB / 0.6634 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003925/1.565, allocations: 230 kB / 0.6636 GB, free: 8.727 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/1.566, allocations: 0.5105 MB / 0.6641 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007746/1.567, allocations: 1.101 MB / 0.6652 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005289/1.567, allocations: 0.5705 MB / 0.6657 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/1.567, allocations: 338.6 kB / 0.6661 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/1.568, allocations: 445.8 kB / 0.6665 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/1.568, allocations: 56 kB / 0.6665 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008568/1.569, allocations: 0.5903 MB / 0.6671 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/1.569, allocations: 179.2 kB / 0.6673 GB, free: 4.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003265/1.569, allocations: 0.4952 MB / 0.6678 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008121/1.57, allocations: 1.122 MB / 0.6689 GB, free: 3.297 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/1.57, allocations: 0 / 0.6689 GB, free: 3.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/1.57, allocations: 0 / 0.6689 GB, free: 3.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.57, allocations: 0 / 0.6689 GB, free: 3.297 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.001365/1.571, allocations: 1.101 MB / 0.6699 GB, free: 2.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/1.571, allocations: 8.031 kB / 0.67 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/1.572, allocations: 123.6 kB / 0.6701 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/1.572, allocations: 470.2 kB / 0.6705 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/1.572, allocations: 94.52 kB / 0.6706 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.572, allocations: 120 kB / 0.6707 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/1.574, allocations: 1.285 MB / 0.672 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.574, allocations: 4 kB / 0.672 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/1.574, allocations: 56 kB / 0.672 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/1.574, allocations: 32 kB / 0.6721 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/1.575, allocations: 0.8454 MB / 0.6729 GB, free: 14.96 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.004845/1.58, allocations: 7.448 MB / 0.6802 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/1.581, allocations: 463.8 kB / 0.6806 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/1.581, allocations: 337.6 kB / 0.6809 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/1.581, allocations: 238.1 kB / 0.6812 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.581, allocations: 38.56 kB / 0.6812 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 1.463e-06/1.581, allocations: 0 / 0.6812 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.002807/1.584, allocations: 1.552 MB / 0.6827 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/1.584, allocations: 85.05 kB / 0.6828 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/1.585, allocations: 0.6044 MB / 0.6834 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/1.585, allocations: 33.7 kB / 0.6834 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/1.585, allocations: 439.1 kB / 0.6838 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/1.585, allocations: 177.4 kB / 0.684 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/1.585, allocations: 73.67 kB / 0.6841 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.585, allocations: 378.8 kB / 0.6844 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/1.586, allocations: 201.2 kB / 0.6846 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/1.586, allocations: 404 kB / 0.685 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/1.587, allocations: 0.6445 MB / 0.6856 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.587, allocations: 7.938 kB / 0.6856 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001404/1.588, allocations: 0.8925 MB / 0.6865 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.588, allocations: 8 kB / 0.6865 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.588, allocations: 4 kB / 0.6865 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.589, allocations: 304.9 kB / 0.6868 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/1.59, allocations: 99.83 kB / 0.6869 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.592, allocations: 4.06 MB / 0.6909 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/1.592, allocations: 106.8 kB / 0.691 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/1.592, allocations: 32 kB / 0.691 GB, free: 11.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 (sinkP2.C.a,sourceP2.C.b,sourceP1.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP1.C.a,sinkP.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP.C.b,splitter2.Cs2.b,splitter2.Cs1.b,splitter2.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002371/1.593, allocations: 232.8 kB / 0.6912 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/1.593, allocations: 75.16 kB / 0.6913 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/1.594, allocations: 0.7147 MB / 0.692 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.594, allocations: 8 kB / 0.692 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.594, allocations: 0 / 0.692 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.594, allocations: 3.984 kB / 0.692 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/1.597, allocations: 2.253 MB / 0.6942 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.597, allocations: 8 kB / 0.6942 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/1.597, allocations: 59.91 kB / 0.6943 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008882/1.598, allocations: 273.3 kB / 0.6945 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/1.598, allocations: 19.94 kB / 0.6946 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.6, allocations: 4.002 MB / 0.6985 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.6, allocations: 12.27 kB / 0.6985 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/1.601, allocations: 0.9745 MB / 0.6994 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/1.602, allocations: 152.2 kB / 0.6996 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/1.602, allocations: 20 kB / 0.6996 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.602, allocations: 31.83 kB / 0.6996 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/1.602, allocations: 47.83 kB / 0.6997 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/1.602, allocations: 20 kB / 0.6997 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004016/1.602, allocations: 431.1 kB / 0.7001 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/1.602, allocations: 0 / 0.7001 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006283/1.603, allocations: 283.1 kB / 0.7004 GB, free: 0.8633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (32): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004494/1.604, allocations: 259.7 kB / 0.7006 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001064/1.605, allocations: 0.591 MB / 0.7012 GB, free: 16 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.605, allocations: 0 / 0.7012 GB, free: 16 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.1326/1.737, allocations: 287.2 kB / 0.7015 GB, free: 236.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.738, allocations: 140.1 kB / 0.7016 GB, free: 236.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/1.74, allocations: 1.779 MB / 0.7033 GB, free: 235.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.741, allocations: 0.9624 MB / 0.7043 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.741, allocations: 50.92 kB / 0.7043 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/1.741, allocations: 2.188 kB / 0.7043 GB, free: 234.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02439/1.765, allocations: 35.11 MB / 0.7386 GB, free: 219.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.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.TestFlueGasesJunctionsCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctionsCalcHelperMain.o] Error 1