Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007695/0.0007694, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008893/0.0008892, allocations: 185.3 kB / 16.92 MB, free: 6.75 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.287/1.287, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7075/0.7075, allocations: 132.3 MB / 424.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 13.03 kB / 0.5046 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4599, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03896/0.4989, allocations: 40.5 MB / 0.6238 GB, free: 5.352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.5139, allocations: 10.31 MB / 0.6339 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.5159, allocations: 47.97 kB / 0.6339 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.5176, allocations: 0.5243 MB / 0.6345 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.5227, allocations: 1.74 MB / 0.6362 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.5256, allocations: 1.081 MB / 0.6372 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005725/0.5313, allocations: 4.502 MB / 0.6416 GB, free: 5.609 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.5332, allocations: 0.8597 MB / 0.6424 GB, free: 4.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.5365, allocations: 1.027 MB / 0.6435 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.5388, allocations: 0.8592 MB / 0.6443 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.5389, allocations: 36 kB / 0.6443 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.5413, allocations: 0.7677 MB / 0.6451 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.5416, allocations: 211 kB / 0.6453 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007836/0.5424, allocations: 0.5768 MB / 0.6458 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.5441, allocations: 1.446 MB / 0.6473 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5442, allocations: 0 / 0.6473 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5442, allocations: 0 / 0.6473 GB, free: 15.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.5442, allocations: 0 / 0.6473 GB, free: 15.79 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002068/0.5463, allocations: 1.301 MB / 0.6485 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5463, allocations: 15.97 kB / 0.6485 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.5466, allocations: 135.5 kB / 0.6487 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.5481, allocations: 1.067 MB / 0.6497 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.5481, allocations: 58 kB / 0.6498 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.5482, allocations: 72 kB / 0.6498 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5495, allocations: 0.8022 MB / 0.6506 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5496, allocations: 7.938 kB / 0.6506 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.5496, allocations: 28 kB / 0.6507 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.5497, allocations: 20 kB / 0.6507 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5507, allocations: 0.5906 MB / 0.6512 GB, free: 11.57 MB / 494.1 MB 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.003766/0.5545, allocations: 3.559 MB / 0.6547 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.5551, allocations: 269.1 kB / 0.655 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.5554, allocations: 191.3 kB / 0.6552 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.5559, allocations: 0.6648 MB / 0.6558 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.556, allocations: 38.56 kB / 0.6558 GB, free: 6.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 3.516e-06/0.556, allocations: 3.984 kB / 0.6559 GB, free: 6.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001172/0.5572, allocations: 0.5528 MB / 0.6564 GB, free: 5.902 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.5572, allocations: 51.41 kB / 0.6564 GB, free: 5.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.5583, allocations: 0.9377 MB / 0.6574 GB, free: 4.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.5583, allocations: 29.7 kB / 0.6574 GB, free: 4.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.5587, allocations: 499.5 kB / 0.6579 GB, free: 4.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/0.5588, allocations: 114.4 kB / 0.658 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.5589, allocations: 53.69 kB / 0.658 GB, free: 4.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5591, allocations: 326 kB / 0.6583 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.5594, allocations: 180.9 kB / 0.6585 GB, free: 3.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.5599, allocations: 364.5 kB / 0.6589 GB, free: 3.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.5607, allocations: 0.5273 MB / 0.6594 GB, free: 2.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5607, allocations: 0 / 0.6594 GB, free: 2.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001109/0.5619, allocations: 0.6459 MB / 0.66 GB, free: 2.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5619, allocations: 8 kB / 0.66 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5619, allocations: 4 kB / 0.66 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5619, allocations: 8 kB / 0.66 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.5624, allocations: 127.8 kB / 0.6601 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.5624, allocations: 15.88 kB / 0.6602 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.5631, allocations: 123.1 kB / 0.6603 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.5631, allocations: 27.98 kB / 0.6603 GB, free: 1.695 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003646/0.5635, allocations: 273.6 kB / 0.6606 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.5637, allocations: 94.88 kB / 0.6606 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000962/0.5646, allocations: 0.4886 MB / 0.6611 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5646, allocations: 4 kB / 0.6611 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5647, allocations: 7.938 kB / 0.6611 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007302/0.5654, allocations: 478.3 kB / 0.6616 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.5675, allocations: 1.375 MB / 0.6629 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5675, allocations: 0 / 0.6629 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.5678, allocations: 84.09 kB / 0.663 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.5679, allocations: 4 kB / 0.663 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.5679, allocations: 8 kB / 0.663 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.5679, allocations: 7.938 kB / 0.663 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5679, allocations: 0 / 0.663 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.5692, allocations: 0.8061 MB / 0.6638 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.5696, allocations: 239.7 kB / 0.6641 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.5697, allocations: 8 kB / 0.6641 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.5702, allocations: 63.84 kB / 0.6641 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.5703, allocations: 23.97 kB / 0.6641 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.5703, allocations: 27.98 kB / 0.6642 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007824/0.5711, allocations: 0.6471 MB / 0.6648 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5711, allocations: 0 / 0.6648 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009088/0.572, allocations: 339.4 kB / 0.6651 GB, free: 12.58 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007708/0.5728, allocations: 387.2 kB / 0.6655 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008902/0.5737, allocations: 441.1 kB / 0.6659 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5737, allocations: 0 / 0.6659 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.5741, allocations: 193.3 kB / 0.6661 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.577, allocations: 0.5956 MB / 0.6667 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.5796, allocations: 2.038 MB / 0.6687 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.5802, allocations: 1.032 MB / 0.6697 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.5804, allocations: 79.42 kB / 0.6698 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.5804, allocations: 0 / 0.6698 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.0247/0.6051, allocations: 17.66 MB / 0.687 GB, free: 6.285 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchangerCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1