Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 102.7 kB / 15.71 MB, free: 460 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.00166/0.00166, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.771/1.771, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.011/1.011, allocations: 89.63 MB / 381.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 9.031 kB / 460.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.179, allocations: 68.83 MB / 0.5171 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.5442/0.7233, allocations: 71.16 MB / 0.5865 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.7372, allocations: 9.423 MB / 0.5957 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.7393, allocations: 21.41 kB / 0.5958 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.7414, allocations: 0.5571 MB / 0.5963 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009359/0.7507, allocations: 2.48 MB / 0.5987 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.7549, allocations: 1.133 MB / 0.5998 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004483/0.7594, allocations: 2.143 MB / 0.6019 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009725/0.7604, allocations: 406.9 kB / 0.6023 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.7708, allocations: 3.702 MB / 0.6059 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.7736, allocations: 0.7275 MB / 0.6066 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.774, allocations: 59.38 kB / 0.6067 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.7865, allocations: 4.214 MB / 0.6108 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000731/0.7873, allocations: 237.4 kB / 0.611 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.7889, allocations: 276.3 kB / 0.6113 GB, free: 22.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00504/0.7939, allocations: 1.764 MB / 0.613 GB, free: 22.26 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.794, allocations: 1.625 kB / 0.613 GB, free: 22.26 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.794, allocations: 0 / 0.613 GB, free: 22.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.794, allocations: 0 / 0.613 GB, free: 22.26 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004071/0.7981, allocations: 1.763 MB / 0.6148 GB, free: 21.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7982, allocations: 8.875 kB / 0.6148 GB, free: 21.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.8001, allocations: 285.5 kB / 0.615 GB, free: 21.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.8013, allocations: 0.6635 MB / 0.6157 GB, free: 20.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/0.8014, allocations: 88.08 kB / 0.6158 GB, free: 20.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.8016, allocations: 124.1 kB / 0.6159 GB, free: 20.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.8044, allocations: 1.296 MB / 0.6171 GB, free: 20.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.8045, allocations: 0 / 0.6171 GB, free: 20.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.8046, allocations: 48.73 kB / 0.6172 GB, free: 20.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.704e-05/0.8047, allocations: 55.17 kB / 0.6172 GB, free: 20.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.807, allocations: 1.083 MB / 0.6183 GB, free: 19.97 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008212/0.8152, allocations: 5.499 MB / 0.6237 GB, free: 16.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.8173, allocations: 1.086 MB / 0.6247 GB, free: 16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009057/0.8182, allocations: 0.5536 MB / 0.6253 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/0.8201, allocations: 2.415 MB / 0.6276 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.8202, allocations: 56.67 kB / 0.6277 GB, free: 13.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.567e-06/0.8202, allocations: 0 / 0.6277 GB, free: 13.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.007839/0.828, allocations: 3.707 MB / 0.6313 GB, free: 11.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.8281, allocations: 68.83 kB / 0.6314 GB, free: 11.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.8292, allocations: 0.7494 MB / 0.6321 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.8293, allocations: 45.86 kB / 0.6322 GB, free: 11.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.8297, allocations: 0.5198 MB / 0.6327 GB, free: 10.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.83, allocations: 361.8 kB / 0.633 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.8301, allocations: 28.62 kB / 0.633 GB, free: 10.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.8303, allocations: 352.1 kB / 0.6334 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.831, allocations: 407.3 kB / 0.6338 GB, free: 10.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.8319, allocations: 0.5526 MB / 0.6343 GB, free: 9.996 MB / 462.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = 0.0 ($START.conductionElement4.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = 0.0 ($START.conductionElement2.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.8331, allocations: 0.7282 MB / 0.635 GB, free: 9.453 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8331, allocations: 0 / 0.635 GB, free: 9.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002571/0.8357, allocations: 1.405 MB / 0.6364 GB, free: 8.727 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.8357, allocations: 10.22 kB / 0.6364 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.8358, allocations: 2.906 kB / 0.6364 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007049/0.8365, allocations: 239.9 kB / 0.6366 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/0.8373, allocations: 233 kB / 0.6368 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005888/0.8432, allocations: 5.289 MB / 0.642 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.8445, allocations: 53.98 kB / 0.6421 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.8447, allocations: 49.17 kB / 0.6421 GB, free: 3.559 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: conductionElement4.deltaE_system = 0.0 conductionElement2.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (114): * Single equations (assignments): 111 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 15,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007132/0.8454, allocations: 285.5 kB / 0.6424 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.8456, allocations: 105.4 kB / 0.6425 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.8489, allocations: 1.564 MB / 0.644 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.8489, allocations: 8 kB / 0.644 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.849, allocations: 7.953 kB / 0.644 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.849, allocations: 15.91 kB / 0.644 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/0.8552, allocations: 3.809 MB / 0.6478 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.8553, allocations: 6.625 kB / 0.6478 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.8561, allocations: 195.7 kB / 0.6479 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007241/0.8568, allocations: 262.3 kB / 0.6482 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/0.857, allocations: 39.97 kB / 0.6482 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005505/0.8625, allocations: 5.298 MB / 0.6534 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8625, allocations: 0 / 0.6534 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.8662, allocations: 1.991 MB / 0.6554 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.8667, allocations: 179.8 kB / 0.6555 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.8669, allocations: 24 kB / 0.6555 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.8675, allocations: 75.8 kB / 0.6556 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.8677, allocations: 100.8 kB / 0.6557 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/0.8678, allocations: 43.97 kB / 0.6558 GB, free: 4.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007728/0.8686, allocations: 0.5107 MB / 0.6563 GB, free: 4.266 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8686, allocations: 6.516 kB / 0.6563 GB, free: 4.262 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002026/0.8706, allocations: 0.4998 MB / 0.6568 GB, free: 3.762 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.inlet.m_flow) * 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 (88): * Single equations (assignments): 85 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 14,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.8719, allocations: 0.5713 MB / 0.6573 GB, free: 3.223 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.8749, allocations: 1.497 MB / 0.6588 GB, free: 1.688 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.8749, allocations: 4 kB / 0.6588 GB, free: 1.684 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.8766, allocations: 1.043 MB / 0.6598 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.8785, allocations: 324.9 kB / 0.6601 GB, free: 304 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/0.8837, allocations: 3.354 MB / 0.6634 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/0.8845, allocations: 1.129 MB / 0.6645 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.885, allocations: 119.3 kB / 0.6646 GB, free: 11.61 MB / 494.1 MB Notification: Performance of SimCode: time 1.763e-06/0.8851, allocations: 0 / 0.6646 GB, free: 11.61 MB / 494.1 MB Notification: Performance of Templates: time 0.04746/0.9325, allocations: 34.27 MB / 0.6981 GB, free: 9.383 MB / 0.5137 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.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 OMCppThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElementCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElementCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElementCalcHelperMain.o] Error 1