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.005481/0.00548, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001093/0.001093, allocations: 192 kB / 16.79 MB, free: 5.809 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 132.2 MB / 422.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 51.08 kB / 0.5017 GB, free: 4.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4162, allocations: 80.22 MB / 0.58 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04065/0.4569, allocations: 41.34 MB / 0.6204 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.472, allocations: 10.44 MB / 0.6306 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.4745, allocations: 51.16 kB / 0.6306 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.4764, allocations: 0.5332 MB / 0.6312 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006012/0.4825, allocations: 1.735 MB / 0.6329 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.4856, allocations: 1.073 MB / 0.6339 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005174/0.4908, allocations: 4.509 MB / 0.6383 GB, free: 6.012 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.492, allocations: 0.8886 MB / 0.6392 GB, free: 5.105 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.4942, allocations: 1.038 MB / 0.6402 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.4953, allocations: 0.8982 MB / 0.6411 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.4955, allocations: 48 kB / 0.6411 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.4975, allocations: 0.7872 MB / 0.6419 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.4978, allocations: 219 kB / 0.6421 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007039/0.4985, allocations: 0.5791 MB / 0.6427 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.5003, allocations: 1.466 MB / 0.6441 GB, free: 60 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5003, allocations: 0 / 0.6441 GB, free: 60 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5003, allocations: 8 kB / 0.6441 GB, free: 52 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.5003, allocations: 0 / 0.6441 GB, free: 52 kB / 478.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.0026/0.5029, allocations: 1.511 MB / 0.6456 GB, free: 14.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.503, allocations: 12.03 kB / 0.6456 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.5033, allocations: 131.4 kB / 0.6457 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.5049, allocations: 1.076 MB / 0.6468 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.505, allocations: 57.94 kB / 0.6468 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.5051, allocations: 72 kB / 0.6469 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.5064, allocations: 0.7866 MB / 0.6476 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5065, allocations: 3.984 kB / 0.6477 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.5065, allocations: 32 kB / 0.6477 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.5066, allocations: 20 kB / 0.6477 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5076, allocations: 0.5711 MB / 0.6483 GB, free: 11.65 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.00376/0.5114, allocations: 3.547 MB / 0.6517 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.5119, allocations: 262.4 kB / 0.652 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.5123, allocations: 176.8 kB / 0.6521 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.5128, allocations: 0.6576 MB / 0.6528 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.5128, allocations: 38.56 kB / 0.6528 GB, free: 6.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.5128, allocations: 7.875 kB / 0.6528 GB, free: 6.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001162/0.514, allocations: 0.5132 MB / 0.6533 GB, free: 6.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.5141, allocations: 63.33 kB / 0.6534 GB, free: 5.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.5153, allocations: 0.9299 MB / 0.6543 GB, free: 5.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.5153, allocations: 37.7 kB / 0.6543 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/0.5157, allocations: 0.4917 MB / 0.6548 GB, free: 4.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5158, allocations: 114.4 kB / 0.6549 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.516, allocations: 110.2 kB / 0.655 GB, free: 4.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5161, allocations: 334 kB / 0.6553 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.5164, allocations: 161 kB / 0.6555 GB, free: 3.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.5169, allocations: 352.5 kB / 0.6558 GB, free: 3.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007756/0.5177, allocations: 0.5078 MB / 0.6563 GB, free: 2.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.5177, allocations: 4 kB / 0.6563 GB, free: 2.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001065/0.5188, allocations: 0.6221 MB / 0.6569 GB, free: 2.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5188, allocations: 9.719 kB / 0.657 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5189, allocations: 4 kB / 0.657 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.5189, allocations: 8 kB / 0.657 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.5193, allocations: 127.8 kB / 0.6571 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.5193, allocations: 11.94 kB / 0.6571 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.52, allocations: 107.5 kB / 0.6572 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.5201, allocations: 32 kB / 0.6572 GB, free: 1.848 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.0003539/0.5204, allocations: 277.6 kB / 0.6575 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.5206, allocations: 98.78 kB / 0.6576 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.5215, allocations: 480.5 kB / 0.658 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5215, allocations: 4 kB / 0.6581 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5215, allocations: 0 / 0.6581 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006836/0.5222, allocations: 450.4 kB / 0.6585 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.5242, allocations: 1.36 MB / 0.6598 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5242, allocations: 0 / 0.6598 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.5245, allocations: 76.05 kB / 0.6599 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.5245, allocations: 8 kB / 0.6599 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.5246, allocations: 11.98 kB / 0.6599 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5246, allocations: 4.062 kB / 0.6599 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5246, allocations: 4 kB / 0.6599 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5258, allocations: 0.7669 MB / 0.6607 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.5261, allocations: 227.8 kB / 0.6609 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.5262, allocations: 8 kB / 0.6609 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.5268, allocations: 59.83 kB / 0.6609 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.5269, allocations: 35.91 kB / 0.661 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.5269, allocations: 19.98 kB / 0.661 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007631/0.5277, allocations: 0.6471 MB / 0.6616 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5277, allocations: 0 / 0.6616 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009149/0.5286, allocations: 339.4 kB / 0.6619 GB, free: 12.85 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.0007392/0.5294, allocations: 369.8 kB / 0.6623 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008389/0.5302, allocations: 420.4 kB / 0.6627 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5302, allocations: 0 / 0.6627 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.5306, allocations: 193.7 kB / 0.6629 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.5331, allocations: 0.5907 MB / 0.6635 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.5356, allocations: 1.982 MB / 0.6654 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.5362, allocations: 1.028 MB / 0.6664 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.5364, allocations: 83.41 kB / 0.6665 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.5364, allocations: 0 / 0.6665 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.02451/0.5609, allocations: 17.82 MB / 0.6839 GB, free: 6.504 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