Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005275/0.005275, allocations: 99.98 kB / 15.87 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 195.2 kB / 16.79 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7528/0.7528, allocations: 132.2 MB / 422.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.47 kB / 0.5017 GB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4471, allocations: 80.2 MB / 0.58 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07082/0.518, allocations: 76.67 MB / 0.6549 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02589/0.5439, allocations: 18.92 MB / 0.6734 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005884/0.5498, allocations: 103.3 kB / 0.6735 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.5547, allocations: 1.029 MB / 0.6745 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.567, allocations: 3.369 MB / 0.6778 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.5725, allocations: 1.898 MB / 0.6796 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.5827, allocations: 8.885 MB / 0.6883 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.5855, allocations: 1.738 MB / 0.69 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.5897, allocations: 1.94 MB / 0.6919 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.5927, allocations: 1.773 MB / 0.6936 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003997/0.5932, allocations: 96 kB / 0.6937 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.5971, allocations: 1.465 MB / 0.6951 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.5976, allocations: 450 kB / 0.6956 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.5994, allocations: 1.139 MB / 0.6967 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.603, allocations: 2.857 MB / 0.6995 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.603, allocations: 0 / 0.6995 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.603, allocations: 0 / 0.6995 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.279e-05/0.603, allocations: 0 / 0.6995 GB, free: 7.066 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004449/0.6075, allocations: 2.723 MB / 0.7021 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.6076, allocations: 8.031 kB / 0.7021 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.6082, allocations: 269.5 kB / 0.7024 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.6112, allocations: 1.98 MB / 0.7043 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.6113, allocations: 106.7 kB / 0.7044 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.6115, allocations: 136 kB / 0.7046 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.6141, allocations: 1.524 MB / 0.7061 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.6142, allocations: 0 / 0.7061 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.6143, allocations: 63.98 kB / 0.7061 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.6144, allocations: 40 kB / 0.7062 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.6165, allocations: 1.134 MB / 0.7073 GB, free: 14.89 MB / 0.545 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.008429/0.6249, allocations: 7.56 MB / 0.7146 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.6259, allocations: 478.1 kB / 0.7151 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.6265, allocations: 330.9 kB / 0.7154 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008162/0.6273, allocations: 1.152 MB / 0.7165 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.6274, allocations: 51.16 kB / 0.7166 GB, free: 4.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.415e-06/0.6274, allocations: 0 / 0.7166 GB, free: 4.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002187/0.6296, allocations: 0.9612 MB / 0.7175 GB, free: 3.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.6296, allocations: 59.91 kB / 0.7176 GB, free: 3.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.6318, allocations: 1.755 MB / 0.7193 GB, free: 1.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.6319, allocations: 41.7 kB / 0.7193 GB, free: 1.602 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007421/0.6327, allocations: 0.9355 MB / 0.7203 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.6329, allocations: 220.9 kB / 0.7205 GB, free: 448 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.6332, allocations: 226.7 kB / 0.7207 GB, free: 216 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6334, allocations: 353.9 kB / 0.721 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.6341, allocations: 330.4 kB / 0.7213 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.635, allocations: 0.686 MB / 0.722 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.6366, allocations: 1.012 MB / 0.723 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.6366, allocations: 4 kB / 0.723 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002318/0.6389, allocations: 1.214 MB / 0.7242 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.639, allocations: 11.94 kB / 0.7242 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.639, allocations: 12 kB / 0.7242 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.639, allocations: 16 kB / 0.7242 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/0.64, allocations: 287.6 kB / 0.7245 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.64, allocations: 24.08 kB / 0.7245 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.6414, allocations: 234.4 kB / 0.7247 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.6415, allocations: 55.94 kB / 0.7248 GB, free: 11.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000694/0.6422, allocations: 434.2 kB / 0.7252 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.6425, allocations: 193.7 kB / 0.7254 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.6441, allocations: 0.8709 MB / 0.7262 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.6441, allocations: 4 kB / 0.7262 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6442, allocations: 3.938 kB / 0.7263 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.6454, allocations: 0.7996 MB / 0.727 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.6491, allocations: 2.439 MB / 0.7294 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6491, allocations: 4.25 kB / 0.7294 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/0.6499, allocations: 175.8 kB / 0.7296 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.6499, allocations: 4 kB / 0.7296 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.6499, allocations: 16 kB / 0.7296 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.6499, allocations: 11.92 kB / 0.7296 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6499, allocations: 15.92 kB / 0.7296 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.6521, allocations: 1.331 MB / 0.7309 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/0.6526, allocations: 366.5 kB / 0.7313 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.6529, allocations: 16 kB / 0.7313 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6539, allocations: 115.7 kB / 0.7314 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.654, allocations: 48.44 kB / 0.7315 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.6541, allocations: 39.97 kB / 0.7315 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001521/0.6556, allocations: 1.216 MB / 0.7327 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6556, allocations: 0 / 0.7327 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001547/0.6572, allocations: 0.6317 MB / 0.7333 GB, free: 2.754 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.6582, allocations: 0.5904 MB / 0.7339 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.6597, allocations: 0.8083 MB / 0.7347 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.6597, allocations: 4.5 kB / 0.7347 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.6604, allocations: 354.9 kB / 0.735 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/0.6654, allocations: 1.202 MB / 0.7362 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.6703, allocations: 3.771 MB / 0.7399 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009162/0.6712, allocations: 1.392 MB / 0.7412 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.6717, allocations: 151.3 kB / 0.7414 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.6717, allocations: 4 kB / 0.7414 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.05081/0.7225, allocations: 34.69 MB / 0.7752 GB, free: 8.078 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o] Error 1