Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 103 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.001629/0.001629, allocations: 173.1 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.629/1.629, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8779/0.8779, allocations: 89.62 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 10.22 kB / 460.6 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 68.83 MB / 0.5171 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04206/0.2097, allocations: 38.33 MB / 0.5545 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009181/0.2189, allocations: 5.024 MB / 0.5594 GB, free: 292 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.2206, allocations: 19.88 kB / 0.5594 GB, free: 272 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.2225, allocations: 445.3 kB / 0.5598 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005402/0.2279, allocations: 1.18 MB / 0.561 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.2311, allocations: 0.6345 MB / 0.5616 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004891/0.236, allocations: 2.249 MB / 0.5638 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.2366, allocations: 215.4 kB / 0.564 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.2403, allocations: 1.007 MB / 0.565 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.2416, allocations: 0.6768 MB / 0.5656 GB, free: 9.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.2417, allocations: 51.94 kB / 0.5657 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.244, allocations: 0.5345 MB / 0.5662 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003437/0.2444, allocations: 203 kB / 0.5664 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004602/0.2448, allocations: 237.1 kB / 0.5666 GB, free: 8.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.2465, allocations: 1.169 MB / 0.5678 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2465, allocations: 0 / 0.5678 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2465, allocations: 0 / 0.5678 GB, free: 7.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2465, allocations: 0 / 0.5678 GB, free: 7.641 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002872/0.2494, allocations: 1.348 MB / 0.5691 GB, free: 6.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.568e-05/0.2495, allocations: 8.031 kB / 0.5691 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.2499, allocations: 138.4 kB / 0.5692 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.2511, allocations: 0.6095 MB / 0.5698 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.2512, allocations: 78 kB / 0.5699 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.2514, allocations: 95.98 kB / 0.57 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.2542, allocations: 1.073 MB / 0.571 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.2542, allocations: 3.938 kB / 0.5711 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.2543, allocations: 44 kB / 0.5711 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.2544, allocations: 20 kB / 0.5711 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.2563, allocations: 1.032 MB / 0.5721 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3807/0.6371, allocations: 4.739 MB / 0.5767 GB, free: 57.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.6395, allocations: 0.9405 MB / 0.5777 GB, free: 57.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.6406, allocations: 0.5004 MB / 0.5782 GB, free: 57.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004916/0.6455, allocations: 3.504 MB / 0.5816 GB, free: 55.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.6456, allocations: 50.92 kB / 0.5816 GB, free: 54.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=108): time 2.865e-06/0.6456, allocations: 0 / 0.5816 GB, free: 54.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=122): time 0.009837/0.6554, allocations: 4.518 MB / 0.586 GB, free: 52.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.6555, allocations: 92.86 kB / 0.5861 GB, free: 52.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.6564, allocations: 0.6289 MB / 0.5867 GB, free: 52.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.6565, allocations: 51.2 kB / 0.5868 GB, free: 52.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.6569, allocations: 416 kB / 0.5872 GB, free: 51.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/0.6573, allocations: 421.6 kB / 0.5876 GB, free: 51.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.6573, allocations: 25.59 kB / 0.5876 GB, free: 51.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6574, allocations: 346.9 kB / 0.5879 GB, free: 51.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.6586, allocations: 433.9 kB / 0.5884 GB, free: 51.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/0.6596, allocations: 0.5821 MB / 0.5889 GB, free: 50.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.6607, allocations: 0.4939 MB / 0.5894 GB, free: 50.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6607, allocations: 1.875 kB / 0.5894 GB, free: 50.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003293/0.664, allocations: 1.518 MB / 0.5909 GB, free: 49.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.6641, allocations: 7.812 kB / 0.5909 GB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6641, allocations: 2.625 kB / 0.5909 GB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.6653, allocations: 314.3 kB / 0.5912 GB, free: 49.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.6662, allocations: 248.1 kB / 0.5914 GB, free: 49.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007654/0.6739, allocations: 11.24 MB / 0.6024 GB, free: 38.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6751, allocations: 82.66 kB / 0.6025 GB, free: 38.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.6752, allocations: 53.72 kB / 0.6025 GB, free: 38.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (124): * Single equations (assignments): 116 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005467/0.6758, allocations: 243.2 kB / 0.6028 GB, free: 38.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.676, allocations: 99.78 kB / 0.6029 GB, free: 38.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.6801, allocations: 1.912 MB / 0.6047 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6802, allocations: 11.94 kB / 0.6047 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.6802, allocations: 5 kB / 0.6048 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.6802, allocations: 5.812 kB / 0.6048 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/0.6874, allocations: 2.893 MB / 0.6076 GB, free: 36.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.6875, allocations: 5.156 kB / 0.6076 GB, free: 36.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6885, allocations: 224.2 kB / 0.6078 GB, free: 36.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.6897, allocations: 312.7 kB / 0.6081 GB, free: 36.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.6898, allocations: 40.52 kB / 0.6081 GB, free: 36.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/0.6978, allocations: 11.25 MB / 0.6191 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.6979, allocations: 6.297 kB / 0.6191 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.7032, allocations: 2.208 MB / 0.6213 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/0.7039, allocations: 184.7 kB / 0.6215 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/0.7042, allocations: 28.75 kB / 0.6215 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7054, allocations: 105.3 kB / 0.6216 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.7058, allocations: 103.6 kB / 0.6217 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.7059, allocations: 44.73 kB / 0.6217 GB, free: 23.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009468/0.7069, allocations: 484.5 kB / 0.6222 GB, free: 22.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7069, allocations: 1.969 kB / 0.6222 GB, free: 22.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002598/0.7095, allocations: 441.2 kB / 0.6226 GB, free: 22.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.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 (104): * Single equations (assignments): 96 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009637/0.7105, allocations: 430.9 kB / 0.623 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.7146, allocations: 2.111 MB / 0.6251 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.7147, allocations: 3.906 kB / 0.6251 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.7171, allocations: 1.626 MB / 0.6267 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.7196, allocations: 318.3 kB / 0.627 GB, free: 19.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007187/0.7268, allocations: 3.083 MB / 0.63 GB, free: 17.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009677/0.7278, allocations: 1.057 MB / 0.631 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.7285, allocations: 118.4 kB / 0.6311 GB, free: 16.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.7285, allocations: 0 / 0.6311 GB, free: 16.75 MB / 446.1 MB Notification: Performance of Templates: time 0.06331/0.7918, allocations: 50.28 MB / 0.6802 GB, free: 15.48 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.ReservoirCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.ReservoirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.ReservoirCalcHelperMain.o] Error 1