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.0008641/0.0008642, allocations: 99.59 kB / 15.71 MB, free: 452 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.000933/0.0009332, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.417/1.417, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7607/0.7607, allocations: 132.3 MB / 424 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 8 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5388, allocations: 81.58 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07898/0.6178, allocations: 71.14 MB / 0.6531 GB, free: 9.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02782/0.6457, allocations: 17.69 MB / 0.6704 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004794/0.6505, allocations: 95.38 kB / 0.6705 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.6544, allocations: 0.8733 MB / 0.6714 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.6652, allocations: 2.84 MB / 0.6741 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005901/0.6711, allocations: 1.482 MB / 0.6756 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.6827, allocations: 7.596 MB / 0.683 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003318/0.6861, allocations: 1.445 MB / 0.6844 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/0.6908, allocations: 1.867 MB / 0.6862 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.6942, allocations: 1.598 MB / 0.6878 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.6946, allocations: 76 kB / 0.6879 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.6982, allocations: 0.8885 MB / 0.6887 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004935/0.6987, allocations: 394.2 kB / 0.6891 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009055/0.6996, allocations: 496.5 kB / 0.6896 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.7029, allocations: 2.675 MB / 0.6922 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.703, allocations: 0 / 0.6922 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.703, allocations: 0 / 0.6922 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.393e-05/0.703, allocations: 0 / 0.6922 GB, free: 1.227 MB / 0.5137 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.003777/0.7068, allocations: 2.314 MB / 0.6945 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7068, allocations: 12.03 kB / 0.6945 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005615/0.7074, allocations: 265 kB / 0.6947 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.7103, allocations: 1.9 MB / 0.6966 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/0.7104, allocations: 106.7 kB / 0.6967 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.7106, allocations: 148 kB / 0.6968 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.7131, allocations: 1.532 MB / 0.6983 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.7131, allocations: 7.938 kB / 0.6983 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.7133, allocations: 64 kB / 0.6984 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.7133, allocations: 36 kB / 0.6984 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.7154, allocations: 1.154 MB / 0.6995 GB, free: 9.5 MB / 0.5294 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.009925/0.7254, allocations: 7.595 MB / 0.707 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.7267, allocations: 498 kB / 0.7074 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008806/0.7276, allocations: 347.7 kB / 0.7078 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.7288, allocations: 1.16 MB / 0.7089 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.7288, allocations: 39.12 kB / 0.7089 GB, free: 15.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 4.719e-06/0.7289, allocations: 0 / 0.7089 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.00303/0.7319, allocations: 1.024 MB / 0.7099 GB, free: 14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.732, allocations: 55.97 kB / 0.71 GB, free: 13.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.7353, allocations: 1.736 MB / 0.7117 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.7354, allocations: 41.7 kB / 0.7117 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.7365, allocations: 0.9354 MB / 0.7126 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.7368, allocations: 221 kB / 0.7128 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.7369, allocations: 20 kB / 0.7129 GB, free: 10.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.7371, allocations: 353.9 kB / 0.7132 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.7381, allocations: 346.4 kB / 0.7135 GB, free: 10.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7394, allocations: 0.7055 MB / 0.7142 GB, free: 9.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.7405, allocations: 466.8 kB / 0.7147 GB, free: 8.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.7405, allocations: 4 kB / 0.7147 GB, free: 8.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002348/0.7429, allocations: 1.253 MB / 0.7159 GB, free: 7.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7429, allocations: 11.98 kB / 0.7159 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.7429, allocations: 12.03 kB / 0.7159 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.743, allocations: 20 kB / 0.7159 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.7443, allocations: 311.6 kB / 0.7162 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/0.7444, allocations: 23.88 kB / 0.7163 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.7467, allocations: 246.5 kB / 0.7165 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.7468, allocations: 51.98 kB / 0.7165 GB, free: 6.996 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.748, allocations: 437.4 kB / 0.717 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/0.7484, allocations: 193.7 kB / 0.7171 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.7509, allocations: 0.9067 MB / 0.718 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.7509, allocations: 8 kB / 0.718 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7509, allocations: 4 kB / 0.718 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/0.7528, allocations: 0.8347 MB / 0.7189 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/0.7587, allocations: 2.478 MB / 0.7213 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.7587, allocations: 0 / 0.7213 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.7599, allocations: 212 kB / 0.7215 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.76, allocations: 7.953 kB / 0.7215 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.76, allocations: 20 kB / 0.7215 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.7601, allocations: 4 kB / 0.7215 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7601, allocations: 4 kB / 0.7215 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.7636, allocations: 1.39 MB / 0.7229 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.7647, allocations: 402.4 kB / 0.7233 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.765, allocations: 31.7 kB / 0.7233 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.7667, allocations: 119.7 kB / 0.7234 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.7669, allocations: 56.53 kB / 0.7235 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/0.767, allocations: 39.95 kB / 0.7235 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001913/0.7689, allocations: 1.196 MB / 0.7247 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7689, allocations: 0 / 0.7247 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001825/0.7707, allocations: 0.6356 MB / 0.7253 GB, free: 13.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.7719, allocations: 0.5633 MB / 0.7258 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.7736, allocations: 0.8469 MB / 0.7267 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7737, allocations: 4 kB / 0.7267 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.7744, allocations: 372.4 kB / 0.727 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/0.7796, allocations: 1.198 MB / 0.7282 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.7852, allocations: 3.739 MB / 0.7318 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.7862, allocations: 1.392 MB / 0.7332 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.7866, allocations: 151.4 kB / 0.7333 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/0.7866, allocations: 4 kB / 0.7333 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of Templates: time 0.05547/0.8421, allocations: 34.37 MB / 0.7669 GB, free: 3.445 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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